| 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..1ea55c606b3d1696d6c1941bd4aaa82745826747 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_->SetVisible(visible);
|
| +}
|
| +
|
| #endif // defined(ENABLE_GPU)
|
|
|