Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 11026015: Add calls to inform gpu of browser window count (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
piman 2012/10/03 20:12:05 You most likely want the correct window count here
DaveMoore 2012/10/03 21:26:54 Bork. Done. On 2012/10/03 20:12:05, piman wrote:
}
void GpuProcessHost::RouteOnUIThread(const IPC::Message& message) {

Powered by Google App Engine
This is Rietveld 408576698