summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_serializer_unittest.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 15:23:34 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 15:23:34 +0000
commit0e29223dd481cd628cfc1d07ee6a555c865432a4 (patch)
tree0c03427e5b23d03182d1e6e2f738e713d51ca553 /webkit/glue/dom_serializer_unittest.cc
parentaa268f5824938088f59c76b41978180b3e340caf (diff)
downloadchromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.zip
chromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.tar.gz
chromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.tar.bz2
Replace cases of Append(FILE_PATH_LITERAL()) with AppendASCII("").
Review URL: http://codereview.chromium.org/18499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_serializer_unittest.cc')
-rw-r--r--webkit/glue/dom_serializer_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/dom_serializer_unittest.cc b/webkit/glue/dom_serializer_unittest.cc
index 4950fdf..a7c4f89 100644
--- a/webkit/glue/dom_serializer_unittest.cc
+++ b/webkit/glue/dom_serializer_unittest.cc
@@ -572,15 +572,15 @@ TEST_F(DomSerializerTests, SerialzeHTMLDOMWithBaseTag) {
// There are total 2 available base tags in this test file.
const int kTotalBaseTagCountInTestFile = 2;
- FilePath page_file_path = FilePath::FromWStringHack(data_dir_).Append(
- FILE_PATH_LITERAL("dom_serializer"));
+ FilePath page_file_path = FilePath::FromWStringHack(data_dir_).AppendASCII(
+ "dom_serializer");
file_util::EnsureEndsWithSeparator(&page_file_path);
// Get page dir URL which is base URL of this file.
GURL path_dir_url = net::FilePathToFileURL(page_file_path.ToWStringHack());
// Get file path.
page_file_path =
- page_file_path.Append(FILE_PATH_LITERAL("html_doc_has_base_tag.htm"));
+ page_file_path.AppendASCII("html_doc_has_base_tag.htm");
// Get file URL.
GURL file_url = net::FilePathToFileURL(page_file_path.ToWStringHack());
ASSERT_TRUE(file_url.SchemeIsFile());