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

Unified Diff: Source/core/html/canvas/WebGLCompressedTextureS3TC.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
Index: Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
diff --git a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
index ae7abe34251b9196da1770edbffa0ede08ca9859..287127e64e572fd5c54d7398f208e882cf54ada2 100644
--- a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
+++ b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
@@ -54,9 +54,9 @@ WebGLExtension::ExtensionName WebGLCompressedTextureS3TC::getName() const
return WebGLCompressedTextureS3TCName;
}
-PassOwnPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContext* context)
+PassRefPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContext* context)
{
- return adoptPtr(new WebGLCompressedTextureS3TC(context));
+ return adoptRef(new WebGLCompressedTextureS3TC(context));
}
bool WebGLCompressedTextureS3TC::supported(WebGLRenderingContext* context)
« no previous file with comments | « Source/core/html/canvas/WebGLCompressedTextureS3TC.h ('k') | Source/core/html/canvas/WebGLDebugRendererInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698