Index: webkit/tools/test_shell/test_shell_win.cc |
=================================================================== |
--- webkit/tools/test_shell/test_shell_win.cc (revision 24379) |
+++ webkit/tools/test_shell/test_shell_win.cc (working copy) |
@@ -705,8 +705,7 @@ |
if (broken_image_data.empty()) { |
FilePath path = GetResourcesFilePath(); |
path = path.AppendASCII("missingImage.gif"); |
- bool success = file_util::ReadFileToString(path.ToWStringHack(), |
- &broken_image_data); |
+ bool success = file_util::ReadFileToString(path, &broken_image_data); |
if (!success) { |
LOG(FATAL) << "Failed reading: " << path.value(); |
} |
@@ -725,8 +724,7 @@ |
if (resize_corner_data.empty()) { |
FilePath path = GetResourcesFilePath(); |
path = path.AppendASCII("textAreaResizeCorner.png"); |
- bool success = file_util::ReadFileToString(path.ToWStringHack(), |
- &resize_corner_data); |
+ bool success = file_util::ReadFileToString(path, &resize_corner_data); |
if (!success) { |
LOG(FATAL) << "Failed reading: " << path.value(); |
} |