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