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

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

Powered by Google App Engine
This is Rietveld 408576698