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

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

Issue 15876011: Make WebGL extensions get lost when context is lost. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/WebGLDebugRendererInfo.h ('k') | Source/core/html/canvas/WebGLDebugShaders.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLDebugRendererInfo.cpp
diff --git a/Source/core/html/canvas/WebGLDebugRendererInfo.cpp b/Source/core/html/canvas/WebGLDebugRendererInfo.cpp
index c8fc790bdbba64af40a615e712d3a19d5321d574..7786e3fed3a8e5da750d907c7a4a5b8e6e9565fb 100644
--- a/Source/core/html/canvas/WebGLDebugRendererInfo.cpp
+++ b/Source/core/html/canvas/WebGLDebugRendererInfo.cpp
@@ -44,9 +44,9 @@ WebGLExtension::ExtensionName WebGLDebugRendererInfo::getName() const
return WebGLDebugRendererInfoName;
}
-PassOwnPtr<WebGLDebugRendererInfo> WebGLDebugRendererInfo::create(WebGLRenderingContext* context)
+PassRefPtr<WebGLDebugRendererInfo> WebGLDebugRendererInfo::create(WebGLRenderingContext* context)
{
- return adoptPtr(new WebGLDebugRendererInfo(context));
+ return adoptRef(new WebGLDebugRendererInfo(context));
}
bool WebGLDebugRendererInfo::supported(WebGLRenderingContext*)
« no previous file with comments | « Source/core/html/canvas/WebGLDebugRendererInfo.h ('k') | Source/core/html/canvas/WebGLDebugShaders.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698