Chromium Code Reviews| 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 481be2d271fca8d8b50d4eb56b53804bb7e17210..4f0dd14b552ebb86cd82c5dc81e9640f1051ee28 100644 |
| --- a/content/browser/gpu/gpu_process_host.cc |
| +++ b/content/browser/gpu/gpu_process_host.cc |
| @@ -446,7 +446,10 @@ bool GpuProcessHost::Init() { |
| return false; |
| } |
| - return Send(new GpuMsg_Initialize()); |
| + if (!Send(new GpuMsg_Initialize())) |
| + return false; |
| + |
| + return Send(new GpuMsg_SetVideoMemoryWindowCount(0)); |
|
ccameron
2012/10/03 20:29:59
Could we call gpu_util::GetBrowserMonitorWindowCou
|
| } |
| void GpuProcessHost::RouteOnUIThread(const IPC::Message& message) { |