summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ppapi/proxy/compositor_layer_resource.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ppapi/proxy/compositor_layer_resource.cc b/ppapi/proxy/compositor_layer_resource.cc
index fc88f6a..d842a36 100644
--- a/ppapi/proxy/compositor_layer_resource.cc
+++ b/ppapi/proxy/compositor_layer_resource.cc
@@ -178,9 +178,8 @@ int32_t CompositorLayerResource::SetTexture(
data_.texture->source_rect.size = source_size_;
const GLuint64 fence_sync = gl->InsertFenceSyncCHROMIUM();
- gl->OrderingBarrierCHROMIUM();
- gl->GenUnverifiedSyncTokenCHROMIUM(fence_sync,
- data_.texture->sync_token.GetData());
+ gl->ShallowFlushCHROMIUM();
+ gl->GenSyncTokenCHROMIUM(fence_sync, data_.texture->sync_token.GetData());
// If the PP_Resource of this layer is released by the plugin, the
// release_callback will be aborted immediately, but the texture or image