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

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

Powered by Google App Engine
This is Rietveld 408576698