Index: Source/modules/webgl/EXTsRGB.cpp |
diff --git a/Source/modules/webgl/EXTsRGB.cpp b/Source/modules/webgl/EXTsRGB.cpp |
index 8816374568fc17fa865958d4bbf2916d23ab4203..f4ac9fe7f09c7d4fca8ea29dbd8c66014f7abed1 100644 |
--- a/Source/modules/webgl/EXTsRGB.cpp |
+++ b/Source/modules/webgl/EXTsRGB.cpp |
@@ -25,9 +25,9 @@ |
return EXTsRGBName; |
} |
-EXTsRGB* EXTsRGB::create(WebGLRenderingContextBase* context) |
+PassRefPtrWillBeRawPtr<EXTsRGB> EXTsRGB::create(WebGLRenderingContextBase* context) |
{ |
- return new EXTsRGB(context); |
+ return adoptRefWillBeNoop(new EXTsRGB(context)); |
} |
bool EXTsRGB::supported(WebGLRenderingContextBase* context) |