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

Unified Diff: ppapi/proxy/flash_device_id_resource.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/flash_device_id_resource.cc
diff --git a/ppapi/proxy/flash_device_id_resource.cc b/ppapi/proxy/flash_device_id_resource.cc
index 39ff63bb7c35215d2280e0f591b2c2d6b7c34049..e1f769dcdc01138dd8963aa9587c0a2ed0fe233c 100644
--- a/ppapi/proxy/flash_device_id_resource.cc
+++ b/ppapi/proxy/flash_device_id_resource.cc
@@ -60,7 +60,7 @@ void FlashDeviceIDResource::OnPluginMsgGetDeviceIDReply(
else
*dest_ = PP_MakeUndefined();
dest_ = NULL;
- TrackedCallback::ClearAndRun(&callback_, params.result());
+ callback_->Run(params.result());
}
} // namespace proxy

Powered by Google App Engine
This is Rietveld 408576698