Index: Source/modules/webgl/OESTextureHalfFloat.cpp |
diff --git a/Source/modules/webgl/OESTextureHalfFloat.cpp b/Source/modules/webgl/OESTextureHalfFloat.cpp |
index aa41d1acde8ea45b649d5609e3cacf52f24ef910..f50ecced8e9f85cc59b1ccd995a5daf3ca10af95 100644 |
--- a/Source/modules/webgl/OESTextureHalfFloat.cpp |
+++ b/Source/modules/webgl/OESTextureHalfFloat.cpp |
@@ -44,9 +44,9 @@ |
return OESTextureHalfFloatName; |
} |
-OESTextureHalfFloat* OESTextureHalfFloat::create(WebGLRenderingContextBase* context) |
+PassRefPtrWillBeRawPtr<OESTextureHalfFloat> OESTextureHalfFloat::create(WebGLRenderingContextBase* context) |
{ |
- return new OESTextureHalfFloat(context); |
+ return adoptRefWillBeNoop(new OESTextureHalfFloat(context)); |
} |
bool OESTextureHalfFloat::supported(WebGLRenderingContextBase* context) |