| Index: Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| diff --git a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| index 6db69fb82bef3986e112f5344d35cbc8721eae4c..35834cc91ffdfd95d8585d14b1726baccec31537 100644
|
| --- a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| +++ b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp
|
| @@ -27,11 +27,11 @@
|
|
|
| #include "core/html/canvas/WebGLCompressedTextureS3TC.h"
|
|
|
| -#include "core/html/canvas/WebGLRenderingContext.h"
|
| +#include "core/html/canvas/WebGLRenderingContextBase.h"
|
|
|
| namespace WebCore {
|
|
|
| -WebGLCompressedTextureS3TC::WebGLCompressedTextureS3TC(WebGLRenderingContext* context)
|
| +WebGLCompressedTextureS3TC::WebGLCompressedTextureS3TC(WebGLRenderingContextBase* context)
|
| : WebGLExtension(context)
|
| {
|
| ScriptWrappable::init(this);
|
| @@ -45,17 +45,17 @@ WebGLCompressedTextureS3TC::~WebGLCompressedTextureS3TC()
|
| {
|
| }
|
|
|
| -WebGLExtension::ExtensionName WebGLCompressedTextureS3TC::name() const
|
| +WebGLExtensionName WebGLCompressedTextureS3TC::name() 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)
|
| {
|
| Extensions3DUtil* extensionsUtil = context->extensionsUtil();
|
| return extensionsUtil->supportsExtension("GL_EXT_texture_compression_s3tc")
|
|
|