Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2981)

Unified Diff: content/worker/websharedworkerclient_proxy.cc

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/worker/websharedworkerclient_proxy.cc
diff --git a/content/worker/websharedworkerclient_proxy.cc b/content/worker/websharedworkerclient_proxy.cc
index 4db74b85101a4fbed76a80e011823cb6712d0f65..f1113854038a69e2c901eb8cbfe8961f5211074d 100644
--- a/content/worker/websharedworkerclient_proxy.cc
+++ b/content/worker/websharedworkerclient_proxy.cc
@@ -168,7 +168,9 @@ void WebSharedWorkerClientProxy::openFileSystem(
WebKit::WebFileSystemCallbacks* callbacks) {
ChildThread::current()->file_system_dispatcher()->OpenFileSystem(
stub_->url().GetOrigin(), static_cast<fileapi::FileSystemType>(type),
- size, create, new WebFileSystemCallbackDispatcher(callbacks));
+ size, create,
+ base::Bind(&WebFileSystemCallbackDispatcher::DidOpenFileSystem,
+ base::Owned(new WebFileSystemCallbackDispatcher(callbacks))));
}
bool WebSharedWorkerClientProxy::allowIndexedDB(const WebKit::WebString& name) {

Powered by Google App Engine
This is Rietveld 408576698