#ifndef WebGLTexture_h
#define WebGLTexture_h
-#include "bindings/v8/ScriptWrappable.h"
+#include "bindings/core/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLSharedObject.h"
#include "wtf/PassRefPtr.h"
#include "wtf/Vector.h"
-namespace WebCore {
+namespace blink {
class WebGLTexture FINAL : public WebGLSharedObject, public ScriptWrappable {
public:
};
virtual ~WebGLTexture();
- static PassRefPtr<WebGLTexture> create(WebGLRenderingContextBase*);
+ static PassRefPtrWillBeRawPtr<WebGLTexture> create(WebGLRenderingContextBase*);
void setTarget(GLenum target, GLint maxLevel);
void setParameteri(GLenum pname, GLint param);
static GLint computeLevelCount(GLsizei width, GLsizei height);
protected:
- WebGLTexture(WebGLRenderingContextBase*);
+ explicit WebGLTexture(WebGLRenderingContextBase*);
virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, Platform3DObject) OVERRIDE;
bool m_isHalfFloatType;
};
-} // namespace WebCore
+} // namespace blink
#endif // WebGLTexture_h