Index: Source/core/html/canvas/WebGLDebugShaders.cpp |
diff --git a/Source/core/html/canvas/WebGLDebugShaders.cpp b/Source/core/html/canvas/WebGLDebugShaders.cpp |
index 8ecb09379d21b3a7e384855d4a206d0c3520f73e..bb790de10d4efc90acdc53eb7165a1f180d21f2a 100644 |
--- a/Source/core/html/canvas/WebGLDebugShaders.cpp |
+++ b/Source/core/html/canvas/WebGLDebugShaders.cpp |
@@ -29,7 +29,6 @@ |
#include "bindings/v8/ExceptionState.h" |
#include "core/html/canvas/WebGLRenderingContext.h" |
#include "core/html/canvas/WebGLShader.h" |
-#include "platform/graphics/Extensions3D.h" |
namespace WebCore { |
@@ -59,13 +58,12 @@ String WebGLDebugShaders::getTranslatedShaderSource(WebGLShader* shader) |
return String(); |
if (!m_context->validateWebGLObject("getTranslatedShaderSource", shader)) |
return ""; |
- return m_context->graphicsContext3D()->extensions()->getTranslatedShaderSourceANGLE(shader->object()); |
+ return m_context->webGraphicsContext3D()->getTranslatedShaderSourceANGLE(shader->object()); |
} |
bool WebGLDebugShaders::supported(WebGLRenderingContext* context) |
{ |
- Extensions3D* extensions = context->graphicsContext3D()->extensions(); |
- return extensions->supports("GL_ANGLE_translated_shader_source"); |
+ return context->graphicsContext3D()->supportsExtension("GL_ANGLE_translated_shader_source"); |
} |
const char* WebGLDebugShaders::extensionName() |