Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / canvas / WebGLCompressedTextureETC1.cpp
index a2abde8..cb0f8a7 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "core/html/canvas/WebGLRenderingContextBase.h"
 
-namespace WebCore {
+namespace blink {
 
 WebGLCompressedTextureETC1::WebGLCompressedTextureETC1(WebGLRenderingContextBase* context)
     : WebGLExtension(context)
@@ -26,9 +26,9 @@ WebGLExtensionName WebGLCompressedTextureETC1::name() const
     return WebGLCompressedTextureETC1Name;
 }
 
-PassRefPtr<WebGLCompressedTextureETC1> WebGLCompressedTextureETC1::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<WebGLCompressedTextureETC1> WebGLCompressedTextureETC1::create(WebGLRenderingContextBase* context)
 {
-    return adoptRef(new WebGLCompressedTextureETC1(context));
+    return adoptRefWillBeNoop(new WebGLCompressedTextureETC1(context));
 }
 
 bool WebGLCompressedTextureETC1::supported(WebGLRenderingContextBase* context)
@@ -42,4 +42,4 @@ const char* WebGLCompressedTextureETC1::extensionName()
     return "WEBGL_compressed_texture_etc1";
 }
 
-} // namespace WebCore
+} // namespace blink