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

Unified Diff: trunk/Source/core/html/canvas/WebGLContextObject.cpp

Issue 184343005: Revert 168457 "WebGL: Transfer ownership of WebGraphicsContext3D..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 10 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: trunk/Source/core/html/canvas/WebGLContextObject.cpp
===================================================================
--- trunk/Source/core/html/canvas/WebGLContextObject.cpp (revision 168480)
+++ trunk/Source/core/html/canvas/WebGLContextObject.cpp (working copy)
@@ -47,7 +47,7 @@
{
detach();
if (m_context) {
- deleteObject(m_context->webContext());
+ deleteObject(m_context->webGraphicsContext3D());
m_context->removeContextObject(this);
m_context = 0;
}
@@ -55,7 +55,7 @@
blink::WebGraphicsContext3D* WebGLContextObject::getAWebGraphicsContext3D() const
{
- return m_context ? m_context->webContext() : 0;
+ return m_context ? m_context->webGraphicsContext3D() : 0;
}
}
Property changes on: trunk/Source/core/html/canvas/WebGLContextObject.cpp
___________________________________________________________________
Modified: svn:eol-style
## -1 +1 ##
-LF
+native
\ No newline at end of property
« no previous file with comments | « trunk/Source/core/html/canvas/WebGLContextGroup.cpp ('k') | trunk/Source/core/html/canvas/WebGLDebugShaders.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698