Index: content/common/gpu/gpu_command_buffer_stub.cc |
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc |
index 2fe7604ef24e5cb0e1b0e74193048f22c4b24c6c..80710c9232349385276dadc98453340ff0695cac 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.cc |
+++ b/content/common/gpu/gpu_command_buffer_stub.cc |
@@ -106,6 +106,8 @@ bool GpuCommandBufferStub::OnMessageReceived(const IPC::Message& message) { |
OnCreateVideoDecoder) |
IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_DestroyVideoDecoder, |
OnDestroyVideoDecoder) |
+ IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_SetSurfaceVisible, |
+ OnSetSurfaceVisible) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
@@ -497,4 +499,8 @@ void GpuCommandBufferStub::OnDestroyVideoDecoder(int decoder_route_id) { |
video_decoders_.Remove(decoder_route_id); |
} |
+void GpuCommandBufferStub::OnSetSurfaceVisible(bool visible) { |
+ surface_->OnSetSurfaceVisible(visible); |
+} |
+ |
#endif // defined(ENABLE_GPU) |