Index: content/renderer/gpu/gpu_benchmarking_extension.cc |
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc |
index fbae5dab332ac3547bd97aa483223b903a93f2ee..43d557dec90e4f807b04a28bb2e6b46475591424 100644 |
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc |
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc |
@@ -348,7 +348,7 @@ class GpuBenchmarkingWrapper : public v8::Extension { |
base::FilePath dirpath( |
base::FilePath::StringType(*dirname, *dirname + dirname.length())); |
if (!file_util::CreateDirectory(dirpath) || |
- !file_util::PathIsWritable(dirpath)) { |
+ !base::PathIsWritable(dirpath)) { |
std::string msg("Path is not writable: "); |
msg.append(dirpath.MaybeAsASCII()); |
v8::ThrowException(v8::Exception::Error( |