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

Unified Diff: ui/gl/gl_context.cc

Issue 2347383002: X11: Use better visuals for OpenGL (Closed)
Patch Set: auto* Created 4 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 | « ui/gl/DEPS ('k') | ui/gl/gl_share_group.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context.cc
diff --git a/ui/gl/gl_context.cc b/ui/gl/gl_context.cc
index f38a7fcc3b18f48cebc7ec4a6016988ccd7bb5e9..60e2b399435f973c62e4765515854dd42f51e8a6 100644
--- a/ui/gl/gl_context.cc
+++ b/ui/gl/gl_context.cc
@@ -51,7 +51,7 @@ GLContext::GLContext(GLShareGroup* share_group)
swap_interval_(1),
force_swap_interval_zero_(false) {
if (!share_group_.get())
- share_group_ = new GLShareGroup;
+ share_group_ = new gl::GLShareGroup();
share_group_->AddContext(this);
}
« no previous file with comments | « ui/gl/DEPS ('k') | ui/gl/gl_share_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698