| 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 90876b6109d893c0fb5020765c2f8ad862496303..b1fffa7c53bd87760c2b21d734e0b7e5ef7b5208 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -130,6 +130,8 @@ bool GpuCommandBufferStub::OnMessageReceived(const IPC::Message& message) {
|
| OnDiscardBackbuffer)
|
| IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_EnsureBackbuffer,
|
| OnEnsureBackbuffer)
|
| + IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_HandlesMemoryAllocations,
|
| + OnHandlesMemoryAllocations)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| @@ -587,6 +589,11 @@ void GpuCommandBufferStub::OnEnsureBackbuffer() {
|
| gfx::GLSurface::BUFFER_ALLOCATION_FRONT_AND_BACK);
|
| }
|
|
|
| +void GpuCommandBufferStub::OnHandlesMemoryAllocations() {
|
| + handles_memory_allocations_ = true;
|
| + channel_->gpu_channel_manager()->gpu_memory_manager()->ScheduleManage();
|
| +}
|
| +
|
| void GpuCommandBufferStub::SendConsoleMessage(
|
| int32 id,
|
| const std::string& message) {
|
|
|