| Index: ppapi/proxy/compositor_layer_resource.cc
|
| diff --git a/ppapi/proxy/compositor_layer_resource.cc b/ppapi/proxy/compositor_layer_resource.cc
|
| index 838a51389bc315ae6e8414d7e2fa8982ffa3784a..ae6bcd5ff2b065d469395dccb62dab7e97e183c5 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
|
|
|