| Index: Source/core/html/canvas/WebGLDebugShaders.cpp
|
| diff --git a/Source/core/html/canvas/WebGLDebugShaders.cpp b/Source/core/html/canvas/WebGLDebugShaders.cpp
|
| index 59cb32f18e3645a9a5756fb5d8056cc3fa57c138..53d2e2910010082c3f64a62cc1889f1091a6b23f 100644
|
| --- a/Source/core/html/canvas/WebGLDebugShaders.cpp
|
| +++ b/Source/core/html/canvas/WebGLDebugShaders.cpp
|
| @@ -27,13 +27,13 @@
|
| #include "core/html/canvas/WebGLDebugShaders.h"
|
|
|
| #include "bindings/v8/ExceptionState.h"
|
| -#include "core/html/canvas/WebGLRenderingContext.h"
|
| +#include "core/html/canvas/WebGLRenderingContextBase.h"
|
| #include "core/html/canvas/WebGLShader.h"
|
| #include "core/platform/graphics/Extensions3D.h"
|
|
|
| namespace WebCore {
|
|
|
| -WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContext* context)
|
| +WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContextBase* context)
|
| : WebGLExtension(context)
|
| {
|
| ScriptWrappable::init(this);
|
| @@ -48,7 +48,7 @@ WebGLExtension::ExtensionName WebGLDebugShaders::getName() const
|
| return WebGLDebugShadersName;
|
| }
|
|
|
| -PassRefPtr<WebGLDebugShaders> WebGLDebugShaders::create(WebGLRenderingContext* context)
|
| +PassRefPtr<WebGLDebugShaders> WebGLDebugShaders::create(WebGLRenderingContextBase* context)
|
| {
|
| return adoptRef(new WebGLDebugShaders(context));
|
| }
|
| @@ -62,7 +62,7 @@ String WebGLDebugShaders::getTranslatedShaderSource(WebGLShader* shader)
|
| return m_context->graphicsContext3D()->getExtensions()->getTranslatedShaderSourceANGLE(shader->object());
|
| }
|
|
|
| -bool WebGLDebugShaders::supported(WebGLRenderingContext* context)
|
| +bool WebGLDebugShaders::supported(WebGLRenderingContextBase* context)
|
| {
|
| Extensions3D* extensions = context->graphicsContext3D()->getExtensions();
|
| return extensions->supports("GL_ANGLE_translated_shader_source");
|
|
|