| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index 2384a1b2cc24d135c3b99ef1ef0db40824a0a5fc..bebdaf3dc5ed5b2881f232e99d413cee7cbc17b7 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -60,6 +60,11 @@
|
| #include "ui/gfx/x/x11_switches.h"
|
| #endif
|
|
|
| +#if defined(OS_MACOSX) && !defined(OS_IOS)
|
| +#include "content/browser/browser_io_surface_manager_mac.h"
|
| +#include "content/common/child_process_messages.h"
|
| +#endif
|
| +
|
| namespace content {
|
|
|
| bool GpuProcessHost::gpu_enabled_ = true;
|
| @@ -589,6 +594,11 @@ bool GpuProcessHost::OnMessageReceived(const IPC::Message& message) {
|
| void GpuProcessHost::OnChannelConnected(int32 peer_pid) {
|
| TRACE_EVENT0("gpu", "GpuProcessHost::OnChannelConnected");
|
|
|
| +#if defined(OS_MACOSX) && !defined(OS_IOS)
|
| + Send(new ChildProcessMsg_SetIOSurfaceManagerMailbox(
|
| + BrowserIOSurfaceManager::GetInstance()->GetGpuProcessMailbox()));
|
| +#endif
|
| +
|
| while (!queued_messages_.empty()) {
|
| Send(queued_messages_.front());
|
| queued_messages_.pop();
|
|
|