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

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

Powered by Google App Engine
This is Rietveld 408576698