summaryrefslogtreecommitdiffstats
path: root/chrome/gpu/gpu_command_buffer_stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/gpu/gpu_command_buffer_stub.h')
-rw-r--r--chrome/gpu/gpu_command_buffer_stub.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/gpu/gpu_command_buffer_stub.h b/chrome/gpu/gpu_command_buffer_stub.h
index 1a1e9be..ef57715 100644
--- a/chrome/gpu/gpu_command_buffer_stub.h
+++ b/chrome/gpu/gpu_command_buffer_stub.h
@@ -51,6 +51,11 @@ class GpuCommandBufferStub
int32 route_id() const { return route_id_; }
+#if defined(OS_MACOSX)
+ // Called only by the GpuChannel.
+ void AcceleratedSurfaceBuffersSwapped(uint64 swap_buffers_count);
+#endif
+
private:
// Message handlers:
void OnInitialize(int32 size, base::SharedMemoryHandle* ring_buffer);