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

Unified Diff: webkit/fileapi/file_system_file_util_proxy.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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: webkit/fileapi/file_system_file_util_proxy.cc
diff --git a/webkit/fileapi/file_system_file_util_proxy.cc b/webkit/fileapi/file_system_file_util_proxy.cc
index dd8659585e01d2f28588b037d9fc8b522001845e..162a927654c816e0e858be19ecfbeaa25ebe18c2 100644
--- a/webkit/fileapi/file_system_file_util_proxy.cc
+++ b/webkit/fileapi/file_system_file_util_proxy.cc
@@ -18,7 +18,7 @@ class MessageLoopRelay
// File thread.
explicit MessageLoopRelay(const fileapi::FileSystemOperationContext& context)
: origin_message_loop_proxy_(
- base::MessageLoopProxy::CreateForCurrentThread()),
+ base::MessageLoopProxy::current()),
error_code_(base::PLATFORM_FILE_OK),
context_(context),
file_system_file_util_(NULL) {
« no previous file with comments | « webkit/fileapi/file_system_dir_url_request_job_unittest.cc ('k') | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698