Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(865)

Unified Diff: Source/core/html/canvas/WebGLDebugShaders.cpp

Issue 127163003: Completely removed the Extensions3D class (Take 2) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()
« no previous file with comments | « Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp ('k') | Source/core/html/canvas/WebGLDepthTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698