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

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: media 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..825237f132ea4a5743ac18e0ff839f2c96e0ebf6 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
+WebGLRenderingContextBase* WebGLContextObject::getAWebGLRenderingContextBase() const
{
- return m_context ? m_context->webContext() : nullptr;
+ return m_context;
}
DEFINE_TRACE(WebGLContextObject)

Powered by Google App Engine
This is Rietveld 408576698