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

Unified Diff: Source/core/html/canvas/WebGLDepthTexture.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/WebGLDepthTexture.h ('k') | Source/core/html/canvas/WebGLDrawBuffers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLDepthTexture.cpp
diff --git a/Source/core/html/canvas/WebGLDepthTexture.cpp b/Source/core/html/canvas/WebGLDepthTexture.cpp
index c12beec4ed27f66721781d5c0c50dc7c830b710c..6a450c2eb426d7edf548cc0d519fa92aa4f8289e 100644
--- a/Source/core/html/canvas/WebGLDepthTexture.cpp
+++ b/Source/core/html/canvas/WebGLDepthTexture.cpp
@@ -47,9 +47,9 @@ WebGLExtension::ExtensionName WebGLDepthTexture::getName() const
return WebGLDepthTextureName;
}
-PassOwnPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContext* context)
+PassRefPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContext* context)
{
- return adoptPtr(new WebGLDepthTexture(context));
+ return adoptRef(new WebGLDepthTexture(context));
}
bool WebGLDepthTexture::supported(WebGLRenderingContext* context)
« no previous file with comments | « Source/core/html/canvas/WebGLDepthTexture.h ('k') | Source/core/html/canvas/WebGLDrawBuffers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698