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

Unified Diff: ppapi/proxy/ppb_flash_device_id_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: 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_flash_device_id_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_device_id_proxy.cc b/ppapi/proxy/ppb_flash_device_id_proxy.cc
index bb66b33b224ab9299c983e9c9fee9f48180357a3..ef3434134c3d63d481f81a4700a9e14521d2814c 100644
--- a/ppapi/proxy/ppb_flash_device_id_proxy.cc
+++ b/ppapi/proxy/ppb_flash_device_id_proxy.cc
@@ -84,7 +84,7 @@ void DeviceID::OnReply(int32_t result, const std::string& id) {
else
*dest_ = PP_MakeUndefined();
dest_ = NULL;
- TrackedCallback::ClearAndRun(&callback_, result);
+ callback_->Run(result);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698