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

Unified Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 10909244: PPAPI: Get TrackedCallback ready for running on non-main threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 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: ppapi/proxy/ppb_instance_proxy.cc
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
index 8ea3702f4135ffc83bb1d38fb97857ad1d8f702c..658e388e168e27e0682e38f3f34b38859401b004 100644
--- a/ppapi/proxy/ppb_instance_proxy.cc
+++ b/ppapi/proxy/ppb_instance_proxy.cc
@@ -1014,7 +1014,7 @@ void PPB_Instance_Proxy::OnPluginMsgMouseLockComplete(PP_Instance instance,
NOTREACHED();
return;
}
- TrackedCallback::ClearAndRun(&(data->mouse_lock_callback), result);
+ data->mouse_lock_callback->Run(result);
}
void PPB_Instance_Proxy::MouseLockCompleteInHost(int32_t result,

Powered by Google App Engine
This is Rietveld 408576698