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..0515fae19bcadca5146ce492fac1c21ed7213409 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -446,7 +446,11 @@ bool GpuProcessHost::Init() { |
return false; |
} |
- return Send(new GpuMsg_Initialize()); |
+ if (!Send(new GpuMsg_Initialize())) |
+ return false; |
+ |
+ return Send(new GpuMsg_SetVideoMemoryWindowCount( |
+ GpuDataManagerImpl::GetInstance()->GetWindowCount())); |
} |
void GpuProcessHost::RouteOnUIThread(const IPC::Message& message) { |