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

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: 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: 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 0af116d281c9b45af875aad5098bc29962086c41..dcb5bd5021681b6f0715303ffd4dec3afbe0a209 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() {

Powered by Google App Engine
This is Rietveld 408576698