diff options
Diffstat (limited to 'content/renderer')
-rw-r--r-- | content/renderer/gpu/gpu_benchmarking_extension.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc index 6ba02a6..4a25072 100644 --- a/content/renderer/gpu/gpu_benchmarking_extension.cc +++ b/content/renderer/gpu/gpu_benchmarking_extension.cc @@ -447,7 +447,7 @@ class GpuBenchmarkingWrapper : public v8::Extension { base::FilePath dirpath( base::FilePath::StringType(*dirname, *dirname + dirname.length())); - if (!file_util::CreateDirectory(dirpath) || + if (!base::CreateDirectory(dirpath) || !base::PathIsWritable(dirpath)) { std::string msg("Path is not writable: "); msg.append(dirpath.MaybeAsASCII()); |