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

Unified Diff: Source/core/html/canvas/OESTextureHalfFloatLinear.h

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/OESTextureHalfFloatLinear.h
diff --git a/Source/core/html/canvas/OESTextureHalfFloatLinear.h b/Source/core/html/canvas/OESTextureHalfFloatLinear.h
index 99ebdce48f14a2f11345755ac13dc60b5c0ccc39..0258535602c23dd56ed3fe0fa2aa34ca3105ce76 100644
--- a/Source/core/html/canvas/OESTextureHalfFloatLinear.h
+++ b/Source/core/html/canvas/OESTextureHalfFloatLinear.h
@@ -28,13 +28,13 @@
#include "bindings/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLExtension.h"
-#include "wtf/PassOwnPtr.h"
+#include "wtf/PassRefPtr.h"
namespace WebCore {
class OESTextureHalfFloatLinear : public WebGLExtension, public ScriptWrappable {
public:
- static PassOwnPtr<OESTextureHalfFloatLinear> create(WebGLRenderingContext*);
+ static PassRefPtr<OESTextureHalfFloatLinear> create(WebGLRenderingContext*);
static bool supported(WebGLRenderingContext*);
static const char* getExtensionName();
« no previous file with comments | « Source/core/html/canvas/OESTextureHalfFloat.cpp ('k') | Source/core/html/canvas/OESTextureHalfFloatLinear.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698