diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-24 07:31:24 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-24 07:31:24 +0000 |
commit | 13742997cb4d39e604121163d75e4940c718571d (patch) | |
tree | e15ff8dce6b6ff8503ea1e194e04dc077c124ac5 /webkit | |
parent | 595809ab1be4120d036bb504e1ee7a067f1bd7a2 (diff) | |
download | chromium_src-13742997cb4d39e604121163d75e4940c718571d.zip chromium_src-13742997cb4d39e604121163d75e4940c718571d.tar.gz chromium_src-13742997cb4d39e604121163d75e4940c718571d.tar.bz2 |
Remove WebFileUtilitiesImpl::getAbsolutePath implementation.
This function was only called from one place in Blink, and that call
would always fail due to the renderer sandbox. As of
http://src.chromium.org/viewvc/blink?view=revision&revision=148882,
Blink no longer uses this function, so just remove it since it doesn't
work.
BUG=234171
Review URL: https://chromiumcodereview.appspot.com/14333008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webfileutilities_impl.cc | 6 | ||||
-rw-r--r-- | webkit/glue/webfileutilities_impl.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/webkit/glue/webfileutilities_impl.cc b/webkit/glue/webfileutilities_impl.cc index d1ebf18..fb0b831 100644 --- a/webkit/glue/webfileutilities_impl.cc +++ b/webkit/glue/webfileutilities_impl.cc @@ -77,12 +77,6 @@ bool WebFileUtilitiesImpl::makeAllDirectories(const WebString& path) { return file_util::CreateDirectory(file_path); } -WebString WebFileUtilitiesImpl::getAbsolutePath(const WebString& path) { - base::FilePath file_path(base::MakeAbsoluteFilePath( - webkit_base::WebStringToFilePath(path))); - return webkit_base::FilePathStringToWebString(file_path.value()); -} - bool WebFileUtilitiesImpl::isDirectory(const WebString& path) { base::FilePath file_path(webkit_base::WebStringToFilePath(path)); return file_util::DirectoryExists(file_path); diff --git a/webkit/glue/webfileutilities_impl.h b/webkit/glue/webfileutilities_impl.h index 1c2c95a..741a1c4 100644 --- a/webkit/glue/webfileutilities_impl.h +++ b/webkit/glue/webfileutilities_impl.h @@ -29,7 +29,6 @@ class WEBKIT_GLUE_EXPORT WebFileUtilitiesImpl : virtual WebKit::WebString pathByAppendingComponent( const WebKit::WebString& path, const WebKit::WebString& component); virtual bool makeAllDirectories(const WebKit::WebString& path); - virtual WebKit::WebString getAbsolutePath(const WebKit::WebString& path); virtual bool isDirectory(const WebKit::WebString& path); virtual WebKit::WebURL filePathToURL(const WebKit::WebString& path); virtual base::PlatformFile openFile(const WebKit::WebString& path, int mode); |