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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp

Issue 1833273002: Remove WebGraphicsContext3D::getGLES2Interface(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getgles2: rebase Created 4 years, 9 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: third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp b/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
index 810c8a4244664a84fef3beb4e69ac4e7222b1e5f..d709bfab35b592918d03e411c0391dce79077424 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp
@@ -44,10 +44,10 @@ WebGLContextGroup::~WebGLContextGroup()
detachAndRemoveAllObjects();
}
-WebGraphicsContext3D* WebGLContextGroup::getAWebGraphicsContext3D()
+gpu::gles2::GLES2Interface* WebGLContextGroup::getAGLInterface()
{
ASSERT(!m_contexts.isEmpty());
- return (*m_contexts.begin())->webContext();
+ return (*m_contexts.begin())->contextGL();
}
void WebGLContextGroup::addContext(WebGLRenderingContextBase* context)

Powered by Google App Engine
This is Rietveld 408576698