| Index: services/ui/surfaces/direct_output_surface_ozone.cc
|
| diff --git a/services/ui/surfaces/direct_output_surface_ozone.cc b/services/ui/surfaces/direct_output_surface_ozone.cc
|
| index 99262d177ae06452eb906ebf93d52dc1c79cb5ec..0cbf4bc48315e92ca15cb37b92998f8f30883373 100644
|
| --- a/services/ui/surfaces/direct_output_surface_ozone.cc
|
| +++ b/services/ui/surfaces/direct_output_surface_ozone.cc
|
| @@ -111,13 +111,6 @@ void DirectOutputSurfaceOzone::SwapBuffers(cc::OutputSurfaceFrame frame) {
|
| context_provider_->ContextSupport()->PartialSwapBuffers(
|
| frame.sub_buffer_rect);
|
| }
|
| -
|
| - gpu::gles2::GLES2Interface* gl = context_provider_->ContextGL();
|
| - const GLuint64 fence_sync = gl->InsertFenceSyncCHROMIUM();
|
| - gl->ShallowFlushCHROMIUM();
|
| -
|
| - gpu::SyncToken sync_token;
|
| - gl->GenUnverifiedSyncTokenCHROMIUM(fence_sync, sync_token.GetData());
|
| }
|
|
|
| uint32_t DirectOutputSurfaceOzone::GetFramebufferCopyTextureFormat() {
|
|
|