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

Unified Diff: ui/gl/gl_surface_glx.cc

Issue 23757059: Disable GPU memory usage workaround (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_glx.cc
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
index 10020d30d9d1fff7cc3e781c20ab9fdb648057ed..02e5a2a3d1cd257ad735be08549198d234290b2e 100644
--- a/ui/gl/gl_surface_glx.cc
+++ b/ui/gl/gl_surface_glx.cc
@@ -390,6 +390,10 @@ bool GLSurfaceGLX::InitializeOneOff() {
base::MessageLoop::current() &&
base::MessageLoop::current()->type() == base::MessageLoop::TYPE_GPU;
+ // Disable this path because it is causing window contents to disappear.
+ // http://crbug.com/292655
+ g_create_child_windows = false;
+
if (g_create_child_windows)
g_display = base::MessagePumpX11::GetDefaultXDisplay();
else
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698