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

Unified Diff: ppapi/proxy/ppb_flash_file_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
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | remoting/host/host_key_pair_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_file_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_file_proxy.cc b/ppapi/proxy/ppb_flash_file_proxy.cc
index 7b6dc2d79a672b53aa6c2595cd052eb404b8bcd8..77d5e777bbbd02e85f2a1ce35a4390d42a9b48f9 100644
--- a/ppapi/proxy/ppb_flash_file_proxy.cc
+++ b/ppapi/proxy/ppb_flash_file_proxy.cc
@@ -188,7 +188,7 @@ bool ModuleLocalThreadAdapter::Filter::OnMessageReceived(
}
ModuleLocalThreadAdapter::ModuleLocalThreadAdapter()
- : main_thread_(base::MessageLoopProxy::CreateForCurrentThread()) {
+ : main_thread_(base::MessageLoopProxy::current()) {
}
void ModuleLocalThreadAdapter::AddInstanceRouting(PP_Instance instance,
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | remoting/host/host_key_pair_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698