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

Unified Diff: ppapi/proxy/file_chooser_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: Merged. Created 8 years, 1 month 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 | « no previous file | ppapi/proxy/flash_device_id_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/file_chooser_resource.cc
diff --git a/ppapi/proxy/file_chooser_resource.cc b/ppapi/proxy/file_chooser_resource.cc
index 5c110125d07c1ff1c9234979c30c5eb0152338b8..6135aaaf9bb08ab070bcc65466d7cf37f24472b7 100644
--- a/ppapi/proxy/file_chooser_resource.cc
+++ b/ppapi/proxy/file_chooser_resource.cc
@@ -118,7 +118,7 @@ void FileChooserResource::OnPluginMsgShowReply(
}
// Notify the plugin of the new data.
- TrackedCallback::ClearAndRun(&callback_, params.result());
+ callback_->Run(params.result());
// DANGER: May delete |this|!
}
« no previous file with comments | « no previous file | ppapi/proxy/flash_device_id_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698