summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-15 20:18:09 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-15 20:18:09 +0000
commitdcd16611096dcc5e7651763ff888135e0fb305fc (patch)
treefe1f69c236a92bd701bad04a6ccc1d30c08c6217 /content/renderer
parent6dd1c54f48283e9c61b097b59feecf8d221e123b (diff)
downloadchromium_src-dcd16611096dcc5e7651763ff888135e0fb305fc.zip
chromium_src-dcd16611096dcc5e7651763ff888135e0fb305fc.tar.gz
chromium_src-dcd16611096dcc5e7651763ff888135e0fb305fc.tar.bz2
Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace.
TBR=sky Review URL: https://codereview.chromium.org/19052005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/gpu/gpu_benchmarking_extension.cc2
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 fbae5da..43d557d 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(