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

Unified Diff: webkit/plugins/ppapi/ppb_graphics_2d_impl.h

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
Index: webkit/plugins/ppapi/ppb_graphics_2d_impl.h
diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.h b/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
index de32660fcc0a2e7766bb23e1e427502aa86a99ea..5419daa7726b3b50ca968e4591d185558fe3f651 100644
--- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
+++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
@@ -117,7 +117,7 @@ class PPB_Graphics2D_Impl : public ::ppapi::Resource,
}
void Execute(int32_t result) {
- ::ppapi::TrackedCallback::ClearAndRun(&callback_, result);
+ callback_->Run(result);
}
void PostAbort() {
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_menu_impl.cc ('k') | webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698