diff options
Diffstat (limited to 'content/common/gpu/gpu_channel.cc')
-rw-r--r-- | content/common/gpu/gpu_channel.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc index 27eb490..2f14065 100644 --- a/content/common/gpu/gpu_channel.cc +++ b/content/common/gpu/gpu_channel.cc @@ -209,6 +209,14 @@ void GpuChannel::CreateViewCommandBuffer( #endif // ENABLE_GPU } +void GpuChannel::ViewResized(int32 command_buffer_route_id) { + GpuCommandBufferStub* stub = stubs_.Lookup(command_buffer_route_id); + if (stub == NULL) + return; + + stub->ViewResized(); +} + GpuCommandBufferStub* GpuChannel::LookupCommandBuffer(int32 route_id) { return stubs_.Lookup(route_id); } |