Index: Source/modules/webgl/OESTextureFloat.cpp |
diff --git a/Source/modules/webgl/OESTextureFloat.cpp b/Source/modules/webgl/OESTextureFloat.cpp |
index f5031f98ccf3e7c58100a0cb0729b000475ae9e0..76f8dee0d516a92e7bf601f2393f5d4f64242f29 100644 |
--- a/Source/modules/webgl/OESTextureFloat.cpp |
+++ b/Source/modules/webgl/OESTextureFloat.cpp |
@@ -48,9 +48,9 @@ |
return OESTextureFloatName; |
} |
-OESTextureFloat* OESTextureFloat::create(WebGLRenderingContextBase* context) |
+PassRefPtrWillBeRawPtr<OESTextureFloat> OESTextureFloat::create(WebGLRenderingContextBase* context) |
{ |
- return new OESTextureFloat(context); |
+ return adoptRefWillBeNoop(new OESTextureFloat(context)); |
} |
bool OESTextureFloat::supported(WebGLRenderingContextBase* context) |