#ifndef WebGLCompressedTextureS3TC_h
#define WebGLCompressedTextureS3TC_h
-#include "bindings/v8/ScriptWrappable.h"
+#include "bindings/core/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLExtension.h"
#include "wtf/PassRefPtr.h"
-namespace WebCore {
+namespace blink {
class WebGLTexture;
class WebGLCompressedTextureS3TC FINAL : public WebGLExtension, public ScriptWrappable {
public:
- static PassRefPtr<WebGLCompressedTextureS3TC> create(WebGLRenderingContext*);
- static bool supported(WebGLRenderingContext*);
+ static PassRefPtrWillBeRawPtr<WebGLCompressedTextureS3TC> create(WebGLRenderingContextBase*);
+ static bool supported(WebGLRenderingContextBase*);
static const char* extensionName();
virtual ~WebGLCompressedTextureS3TC();
- virtual ExtensionName name() const OVERRIDE;
+ virtual WebGLExtensionName name() const OVERRIDE;
private:
- WebGLCompressedTextureS3TC(WebGLRenderingContext*);
+ explicit WebGLCompressedTextureS3TC(WebGLRenderingContextBase*);
};
-} // namespace WebCore
+} // namespace blink
#endif // WebGLCompressedTextureS3TC_h