| Index: content/browser/gpu/gpu_pixel_browsertest.cc
|
| diff --git a/content/browser/gpu/gpu_pixel_browsertest.cc b/content/browser/gpu/gpu_pixel_browsertest.cc
|
| index 758d2b4efd2d90f080ad0216b85b3003af127ff2..fb930761c8bd24600f275d9c7ea5522d43822366 100644
|
| --- a/content/browser/gpu/gpu_pixel_browsertest.cc
|
| +++ b/content/browser/gpu/gpu_pixel_browsertest.cc
|
| @@ -54,8 +54,8 @@ const char kBuildRevision[] = "build-revision";
|
| // 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;
|
|
|