| Index: webkit/support/platform_support_linux.cc
|
| diff --git a/webkit/support/platform_support_linux.cc b/webkit/support/platform_support_linux.cc
|
| index fa795f91f05b5d699f55a908498a440e3528626f..a26c5f460010b2791ae7629d36d9e60a80b4ab0e 100644
|
| --- a/webkit/support/platform_support_linux.cc
|
| +++ b/webkit/support/platform_support_linux.cc
|
| @@ -23,7 +23,7 @@ void BeforeInitialize(bool unit_test_mode) {
|
| }
|
|
|
| void AfterInitialize(bool unit_test_mode) {
|
| - FilePath data_path;
|
| + base::FilePath data_path;
|
| PathService::Get(base::DIR_EXE, &data_path);
|
| data_path = data_path.Append("DumpRenderTree.pak");
|
| ResourceBundle::InitSharedInstanceWithPakPath(data_path);
|
| @@ -45,14 +45,14 @@ string16 TestWebKitPlatformSupport::GetLocalizedString(int message_id) {
|
| base::StringPiece TestWebKitPlatformSupport::GetDataResource(
|
| int resource_id,
|
| ui::ScaleFactor scale_factor) {
|
| - FilePath resources_path;
|
| + base::FilePath resources_path;
|
| PathService::Get(base::DIR_EXE, &resources_path);
|
| resources_path = resources_path.Append("DumpRenderTree_resources");
|
| switch (resource_id) {
|
| case IDR_BROKENIMAGE: {
|
| CR_DEFINE_STATIC_LOCAL(std::string, broken_image_data, ());
|
| if (broken_image_data.empty()) {
|
| - FilePath path = resources_path.Append("missingImage.gif");
|
| + base::FilePath path = resources_path.Append("missingImage.gif");
|
| bool success = file_util::ReadFileToString(path, &broken_image_data);
|
| if (!success)
|
| LOG(FATAL) << "Failed reading: " << path.value();
|
| @@ -62,7 +62,7 @@ base::StringPiece TestWebKitPlatformSupport::GetDataResource(
|
| case IDR_TEXTAREA_RESIZER: {
|
| CR_DEFINE_STATIC_LOCAL(std::string, resize_corner_data, ());
|
| if (resize_corner_data.empty()) {
|
| - FilePath path = resources_path.Append("textAreaResizeCorner.png");
|
| + base::FilePath path = resources_path.Append("textAreaResizeCorner.png");
|
| bool success = file_util::ReadFileToString(path, &resize_corner_data);
|
| if (!success)
|
| LOG(FATAL) << "Failed reading: " << path.value();
|
|
|