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

Unified Diff: Source/core/html/canvas/WebGLContextGroup.cpp

Issue 223223003: Re-land "WebGL: Transfer ownership of WebGraphicsContext3D to DrawingBuffer" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix errata on comment Created 6 years, 8 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
« no previous file with comments | « Source/core/html/canvas/WebGLBuffer.cpp ('k') | Source/core/html/canvas/WebGLContextObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLContextGroup.cpp
diff --git a/Source/core/html/canvas/WebGLContextGroup.cpp b/Source/core/html/canvas/WebGLContextGroup.cpp
index b75d8200cf6dbc1eef7ce2289fa0232a21225dab..e9e3ebe267e639e30864491c04db7236a589b020 100644
--- a/Source/core/html/canvas/WebGLContextGroup.cpp
+++ b/Source/core/html/canvas/WebGLContextGroup.cpp
@@ -50,7 +50,7 @@ blink::WebGraphicsContext3D* WebGLContextGroup::getAWebGraphicsContext3D()
{
ASSERT(!m_contexts.isEmpty());
HashSet<WebGLRenderingContextBase*>::iterator it = m_contexts.begin();
- return (*it)->webGraphicsContext3D();
+ return (*it)->webContext();
}
void WebGLContextGroup::addContext(WebGLRenderingContextBase* context)
« no previous file with comments | « Source/core/html/canvas/WebGLBuffer.cpp ('k') | Source/core/html/canvas/WebGLContextObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698