| Index: Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| diff --git a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| index 46689f5e48a386e7faff885e9bac0462df636e9a..cba468463b0c6139961fffdadd84efea2a0bdd2e 100644
|
| --- a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| +++ b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| @@ -27,12 +27,12 @@
|
|
|
| #include "core/html/canvas/WebGLCompressedTextureS3TC.h"
|
|
|
| -#include "core/html/canvas/WebGLRenderingContext.h"
|
| +#include "core/html/canvas/WebGLRenderingContextBase.h"
|
| #include "core/platform/graphics/Extensions3D.h"
|
|
|
| namespace WebCore {
|
|
|
| -WebGLCompressedTextureS3TC::WebGLCompressedTextureS3TC(WebGLRenderingContext* context)
|
| +WebGLCompressedTextureS3TC::WebGLCompressedTextureS3TC(WebGLRenderingContextBase* context)
|
| : WebGLExtension(context)
|
| {
|
| ScriptWrappable::init(this);
|
| @@ -51,12 +51,12 @@ WebGLExtension::ExtensionName WebGLCompressedTextureS3TC::getName() const
|
| return WebGLCompressedTextureS3TCName;
|
| }
|
|
|
| -PassRefPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContext* context)
|
| +PassRefPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContextBase* context)
|
| {
|
| return adoptRef(new WebGLCompressedTextureS3TC(context));
|
| }
|
|
|
| -bool WebGLCompressedTextureS3TC::supported(WebGLRenderingContext* context)
|
| +bool WebGLCompressedTextureS3TC::supported(WebGLRenderingContextBase* context)
|
| {
|
| Extensions3D* extensions = context->graphicsContext3D()->getExtensions();
|
| return extensions->supports("GL_EXT_texture_compression_s3tc")
|
|
|