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

Unified Diff: ppapi/proxy/printing_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/printing_resource.cc
diff --git a/ppapi/proxy/printing_resource.cc b/ppapi/proxy/printing_resource.cc
index 4d55db0f6a619a99294f536e42b4d75d77ba4447..d5f74438116ad4027f3d38558edaa0b7effdbd92 100644
--- a/ppapi/proxy/printing_resource.cc
+++ b/ppapi/proxy/printing_resource.cc
@@ -63,7 +63,7 @@ void PrintingResource::OnPluginMsgGetDefaultPrintSettingsReply(
print_settings_ = NULL;
// Notify the plugin of the new data.
- TrackedCallback::ClearAndRun(&callback_, params.result());
+ callback_->Run(params.result());
// DANGER: May delete |this|!
}

Powered by Google App Engine
This is Rietveld 408576698