Index: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
index 203ffac8301e2ff92fc87a4a4805019c8656e52b..c193946c6d94c319122d278af927251f633ba3aa 100644 |
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
@@ -1237,7 +1237,10 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::signalSyncPoint( |
// Take ownership of the callback. |
context_->SignalSyncPoint( |
sync_point, base::Bind(&OnSignalSyncPoint, base::Owned(callback))); |
- // Stick something in the command buffer. |
+ // Make sure we have something to flush, or shallowFlushCHROMIUM() |
+ // doesn't do anything. |
+ gl_->helper()->Noop(1); |
+ // This fill force PumpCommands() to run which is what triggers the signal. |
shallowFlushCHROMIUM(); |
} |