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

Unified Diff: ppapi/shared_impl/ppb_graphics_3d_shared.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 | « ppapi/shared_impl/ppb_audio_input_shared.cc ('k') | ppapi/shared_impl/ppb_video_capture_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_graphics_3d_shared.cc
diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.cc b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
index eabc64629a5061ee1bc4ea48498f1a1b3ffe8d5e..0278c42f3dd88e1a8ba3fbc9f0aadbaf871afdfc 100644
--- a/ppapi/shared_impl/ppb_graphics_3d_shared.cc
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.cc
@@ -89,7 +89,7 @@ void PPB_Graphics3D_Shared::UnmapTexSubImage2DCHROMIUM(const void* mem) {
void PPB_Graphics3D_Shared::SwapBuffersACK(int32_t pp_error) {
DCHECK(HasPendingSwap());
- TrackedCallback::ClearAndRun(&swap_callback_, pp_error);
+ swap_callback_->Run(pp_error);
}
bool PPB_Graphics3D_Shared::HasPendingSwap() const {
« no previous file with comments | « ppapi/shared_impl/ppb_audio_input_shared.cc ('k') | ppapi/shared_impl/ppb_video_capture_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698