summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_win.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 14:07:49 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 14:07:49 +0000
commit3140cfe10227807f8e63707d9899de481a479b47 (patch)
tree27478a883032d090f232978f4241c876e3de7ffa /webkit/tools/test_shell/test_shell_win.cc
parentf2a9afc3a5aa9ca9d66b953a29e1b08b5d4be700 (diff)
downloadchromium_src-3140cfe10227807f8e63707d9899de481a479b47.zip
chromium_src-3140cfe10227807f8e63707d9899de481a479b47.tar.gz
chromium_src-3140cfe10227807f8e63707d9899de481a479b47.tar.bz2
Remove some uses of Append(FILE_PATH_LITERAL()) with AppendASCII().
This also removes an incorrect FILE_PATH_LITERAL(kParentDirectory). They got lucky the macro doesn't do anything on Mac. Review URL: http://codereview.chromium.org/18496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_win.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_win.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc
index 1f880e8..2cce352 100644
--- a/webkit/tools/test_shell/test_shell_win.cc
+++ b/webkit/tools/test_shell/test_shell_win.cc
@@ -120,10 +120,10 @@ bool MinidumpCallback(const wchar_t *dumpPath,
FilePath GetResourcesFilePath() {
FilePath path;
PathService::Get(base::DIR_SOURCE_ROOT, &path);
- path = path.Append(FILE_PATH_LITERAL("webkit"));
- path = path.Append(FILE_PATH_LITERAL("tools"));
- path = path.Append(FILE_PATH_LITERAL("test_shell"));
- return path.Append(FILE_PATH_LITERAL("resources"));
+ path = path.AppendASCII("webkit");
+ path = path.AppendASCII("tools");
+ path = path.AppendASCII("test_shell");
+ return path.AppendASCII("resources");
}
StringPiece GetRawDataResource(HMODULE module, int resource_id) {
@@ -743,7 +743,7 @@ std::string GetDataResource(int resource_id) {
static std::string broken_image_data;
if (broken_image_data.empty()) {
FilePath path = GetResourcesFilePath();
- path = path.Append(FILE_PATH_LITERAL("missingImage.gif"));
+ path = path.AppendASCII("missingImage.gif");
bool success = file_util::ReadFileToString(path.ToWStringHack(),
&broken_image_data);
if (!success) {
@@ -763,7 +763,7 @@ std::string GetDataResource(int resource_id) {
static std::string resize_corner_data;
if (resize_corner_data.empty()) {
FilePath path = GetResourcesFilePath();
- path = path.Append(FILE_PATH_LITERAL("textAreaResizeCorner.png"));
+ path = path.AppendASCII("textAreaResizeCorner.png");
bool success = file_util::ReadFileToString(path.ToWStringHack(),
&resize_corner_data);
if (!success) {