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

Unified Diff: content/renderer/pepper/pepper_graphics_2d_host.cc

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Folded sync_point into sync_tokens Created 5 years, 2 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: content/renderer/pepper/pepper_graphics_2d_host.cc
diff --git a/content/renderer/pepper/pepper_graphics_2d_host.cc b/content/renderer/pepper/pepper_graphics_2d_host.cc
index 02a984b0c0b5ca51140afc7563bdb26eeed8f58d..018cc67eef746fab310090507878d8de12ae0177 100644
--- a/content/renderer/pepper/pepper_graphics_2d_host.cc
+++ b/content/renderer/pepper/pepper_graphics_2d_host.cc
@@ -549,7 +549,7 @@ int32_t PepperGraphics2DHost::OnHostMsgReadImageData(
void PepperGraphics2DHost::ReleaseCallback(scoped_ptr<cc::SharedBitmap> bitmap,
const gfx::Size& bitmap_size,
- uint32 sync_point,
+ const gpu::SyncToken& sync_token,
bool lost_resource) {
cached_bitmap_.reset();
// Only keep around a cached bitmap if the plugin is currently drawing (has

Powered by Google App Engine
This is Rietveld 408576698