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

Unified Diff: ui/gl/gl_implementation_ozone.cc

Issue 1151093006: Added disabling EGL extensions support with --disable-extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed some strange formatting Created 5 years, 7 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: ui/gl/gl_implementation_ozone.cc
diff --git a/ui/gl/gl_implementation_ozone.cc b/ui/gl/gl_implementation_ozone.cc
index 2a85720da5f182d970162f271601c27fe7e8f43c..e921ef9e3f7d9d833018626b1f3f4d2f4085e15b 100644
--- a/ui/gl/gl_implementation_ozone.cc
+++ b/ui/gl/gl_implementation_ozone.cc
@@ -74,8 +74,10 @@ bool InitializeStaticGLBindings(GLImplementation implementation) {
bool InitializeDynamicGLBindings(GLImplementation implementation,
GLContext* context) {
switch (implementation) {
- case kGLImplementationOSMesaGL:
case kGLImplementationEGLGLES2:
+ InitializeDynamicGLBindingsEGL(context);
+ // Intentionally fall through to also initialize Dynamic GL Bindings.
+ case kGLImplementationOSMesaGL:
InitializeDynamicGLBindingsGL(context);
break;
case kGLImplementationMockGL:

Powered by Google App Engine
This is Rietveld 408576698