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

Unified Diff: webkit/tools/test_shell/simple_file_system.cc

Issue 9016020: Cleanup FileSystemOperation for preparing for adding FSO-factory method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more cleanup around ValidateFileSystemRoot Created 9 years 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: webkit/tools/test_shell/simple_file_system.cc
diff --git a/webkit/tools/test_shell/simple_file_system.cc b/webkit/tools/test_shell/simple_file_system.cc
index 63914e776a7af9cf2e8e9a5ed54a564f2486a962..1d80b30293d86af0b64b0190655361b19cacfbf8 100644
--- a/webkit/tools/test_shell/simple_file_system.cc
+++ b/webkit/tools/test_shell/simple_file_system.cc
@@ -163,7 +163,9 @@ void SimpleFileSystem::OpenFileSystem(
}
GURL origin_url(frame->document().securityOrigin().toString());
- GetNewOperation(callbacks)->OpenFileSystem(origin_url, type, create);
+ file_system_context_->OpenFileSystem(
+ origin_url, type, create,
+ new SimpleFileSystemCallbackDispatcher(AsWeakPtr(), callbacks));
}
void SimpleFileSystem::move(

Powered by Google App Engine
This is Rietveld 408576698