Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / canvas / WebGLDebugShaders.cpp
index 2b4a0aa..1a1d413 100644 (file)
 #include "config.h"
 #include "core/html/canvas/WebGLDebugShaders.h"
 
-#include "bindings/v8/ExceptionState.h"
+#include "bindings/core/v8/ExceptionState.h"
 #include "core/html/canvas/WebGLRenderingContextBase.h"
 #include "core/html/canvas/WebGLShader.h"
 
-namespace WebCore {
+namespace blink {
 
 WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContextBase* context)
     : WebGLExtension(context)
@@ -47,9 +47,9 @@ WebGLExtensionName WebGLDebugShaders::name() const
     return WebGLDebugShadersName;
 }
 
-PassRefPtr<WebGLDebugShaders> WebGLDebugShaders::create(WebGLRenderingContextBase* context)
+PassRefPtrWillBeRawPtr<WebGLDebugShaders> WebGLDebugShaders::create(WebGLRenderingContextBase* context)
 {
-    return adoptRef(new WebGLDebugShaders(context));
+    return adoptRefWillBeNoop(new WebGLDebugShaders(context));
 }
 
 String WebGLDebugShaders::getTranslatedShaderSource(WebGLShader* shader)
@@ -71,4 +71,4 @@ const char* WebGLDebugShaders::extensionName()
     return "WEBGL_debug_shaders";
 }
 
-} // namespace WebCore
+} // namespace blink