| Index: chrome/test/gpu/gpu_pixel_browsertest.cc
|
| diff --git a/chrome/test/gpu/gpu_pixel_browsertest.cc b/chrome/test/gpu/gpu_pixel_browsertest.cc
|
| index 82972a08c20a2a84b22f14e8584fdd460c98ca84..17527131ebc982c081afd7b4a0bbf37b984298e4 100644
|
| --- a/chrome/test/gpu/gpu_pixel_browsertest.cc
|
| +++ b/chrome/test/gpu/gpu_pixel_browsertest.cc
|
| @@ -58,8 +58,8 @@ const char kReferenceDir[] = "reference-dir";
|
| // should have been encoded using |gfx::PNGCodec::Encode|.
|
| bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap) {
|
| DCHECK(bitmap);
|
| - base::FilePath abs_path(file_path);
|
| - if (!file_util::AbsolutePath(&abs_path))
|
| + base::FilePath abs_path = base::MakeAbsoluteFilePath(file_path);
|
| + if (abs_path.empty())
|
| return false;
|
|
|
| std::string png_data;
|
|
|