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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLContextObject.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/WebGLContextObject.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp
index 83d69b9308eff50d68b7674f0c01acf0be216a11..515d2433c0c6c34bc14fe441f5f50ada7c15ea9f 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp
@@ -47,15 +47,15 @@ void WebGLContextObject::detachContext()
{
detach();
if (m_context) {
- deleteObject(m_context->webContext(), m_context->contextGL());
+ deleteObject(m_context->contextGL());
m_context->removeContextObject(this);
m_context = nullptr;
}
}
-WebGraphicsContext3D* WebGLContextObject::getAWebGraphicsContext3D() const
+gpu::gles2::GLES2Interface* WebGLContextObject::getAGLInterface() const
{
- return m_context ? m_context->webContext() : nullptr;
+ return m_context->contextGL();
}
DEFINE_TRACE(WebGLContextObject)

Powered by Google App Engine
This is Rietveld 408576698