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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLSharedObject.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/WebGLSharedObject.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp b/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp
index 2cc97e652be3c3e2a01193673d385c1248988a43..904dd44f782ab9bc763d056f177a3c3b6681783e 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp
@@ -46,15 +46,15 @@ void WebGLSharedObject::detachContextGroup()
{
detach();
if (m_contextGroup) {
- deleteObject(nullptr, nullptr);
+ deleteObject(nullptr);
m_contextGroup->removeObject(this);
m_contextGroup = nullptr;
}
}
-WebGraphicsContext3D* WebGLSharedObject::getAWebGraphicsContext3D() const
+gpu::gles2::GLES2Interface* WebGLSharedObject::getAGLInterface() const
{
- return m_contextGroup ? m_contextGroup->getAWebGraphicsContext3D() : nullptr;
+ return m_contextGroup ? m_contextGroup->getAGLInterface() : nullptr;
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLSharedObject.h ('k') | third_party/WebKit/Source/modules/webgl/WebGLSync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698