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..9bbfd1c4ed76c16863f673096f84e8d56a960af9 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()->GpuAccessAllowed())); |
|
ccameron
2012/10/03 22:05:43
s/GpuAccessAllowed/GetWindowCount/, I think.
piman
2012/10/03 22:10:21
Yes...
If you get a chance, please double-check th
DaveMoore
2012/10/03 22:52:38
Bork Bork. I rushed and get messed up autocomplete
|
| } |
| void GpuProcessHost::RouteOnUIThread(const IPC::Message& message) { |