Index: content/renderer/gpu/command_buffer_proxy.cc |
diff --git a/content/renderer/gpu/command_buffer_proxy.cc b/content/renderer/gpu/command_buffer_proxy.cc |
index 4cc5cde3f12bbf649d6631fbbba5c2d40546e42f..4e68cb1eafe3bba15748102b6b0b9c15b8336e57 100644 |
--- a/content/renderer/gpu/command_buffer_proxy.cc |
+++ b/content/renderer/gpu/command_buffer_proxy.cc |
@@ -367,6 +367,15 @@ bool CommandBufferProxy::Echo(const base::Closure& callback) { |
return true; |
} |
+bool CommandBufferProxy::SetSurfaceVisible(bool visible) { |
+ if (last_state_.error != gpu::error::kNoError) { |
+ return false; |
+ } |
+ |
+ return Send(new GpuCommandBufferMsg_SetSurfaceVisible(route_id_, visible)); |
+} |
+ |
+ |
bool CommandBufferProxy::SetParent(CommandBufferProxy* parent_command_buffer, |
uint32 parent_texture_id) { |
if (last_state_.error != gpu::error::kNoError) |