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

Unified Diff: ui/gl/gl_context_stub.cc

Issue 2136223002: Introduce GLStubApi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_context_stub.cc
diff --git a/ui/gl/gl_context_stub.cc b/ui/gl/gl_context_stub.cc
index 97a97d8b97bbc4d40e9e33576ea43a63fcd96855..9b42a093971c27993123b525ec7116b6fcdc60b6 100644
--- a/ui/gl/gl_context_stub.cc
+++ b/ui/gl/gl_context_stub.cc
@@ -4,6 +4,8 @@
#include "ui/gl/gl_context_stub.h"
+#include "ui/gl/gl_gl_api_implementation.h"
+
namespace gl {
GLContextStub::GLContextStub() : GLContextReal(nullptr) {}
@@ -16,7 +18,7 @@ bool GLContextStub::Initialize(
}
bool GLContextStub::MakeCurrent(GLSurface* surface) {
- SetRealGLApi();
+ SetGLToStubGLApi();
SetCurrent(surface);
InitializeDynamicBindings();
return true;

Powered by Google App Engine
This is Rietveld 408576698