summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.cc
diff options
context:
space:
mode:
authordumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 03:27:39 +0000
committerdumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-12 03:27:39 +0000
commitbeaafbaf7a599c92912702bc2b5b3e770849a74a (patch)
tree06a9d047770783c16e9cbffe374c3335d3dd9e6b /webkit/glue/webkitclient_impl.cc
parentaa5ff891c563531aa38fbee52c36f29c66ca3e54 (diff)
downloadchromium_src-beaafbaf7a599c92912702bc2b5b3e770849a74a.zip
chromium_src-beaafbaf7a599c92912702bc2b5b3e770849a74a.tar.gz
chromium_src-beaafbaf7a599c92912702bc2b5b3e770849a74a.tar.bz2
Remove the dirfd parameter from all Chromium code. The POSIX VFS
doesn't need it. BUG=43489 TEST=none Review URL: http://codereview.chromium.org/2055009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.cc')
-rw-r--r--webkit/glue/webkitclient_impl.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index a065ad8..29b812a 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -333,11 +333,18 @@ void WebKitClientImpl::callOnMainThread(void (*func)(void*), void* context) {
main_loop_->PostTask(FROM_HERE, NewRunnableFunction(func, context));
}
+// TODO: remove this method once https://bugs.webkit.org/show_bug.cgi?id=38869
+// is resolved.
base::PlatformFile WebKitClientImpl::databaseOpenFile(
const WebKit::WebString& vfs_file_name, int desired_flags,
base::PlatformFile* dir_handle) {
if (dir_handle)
*dir_handle = base::kInvalidPlatformFileValue;
+ return databaseOpenFile(vfs_file_name, desired_flags);
+}
+
+base::PlatformFile WebKitClientImpl::databaseOpenFile(
+ const WebKit::WebString& vfs_file_name, int desired_flags) {
return base::kInvalidPlatformFileValue;
}