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 e146a08637043f6ad8b6b1da94ed9b8d43993c9f..b8406c0fe2536ce8c8edf6dbc2fd064a70b682d2 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(file_path.AsAbsolute()); |
+ if (abs_path.empty()) |
return false; |
std::string png_data; |