summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/canvas/OESTextureHalfFloat.cpp')
-rw-r--r--Source/WebCore/html/canvas/OESTextureHalfFloat.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp b/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
index fd2e25bd2..f1f7496dd 100644
--- a/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
+++ b/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
@@ -31,7 +31,7 @@
namespace WebCore {
-OESTextureHalfFloat::OESTextureHalfFloat(WebGLRenderingContext* context)
+OESTextureHalfFloat::OESTextureHalfFloat(WebGLRenderingContextBase& context)
: WebGLExtension(context)
{
}
@@ -45,11 +45,6 @@ WebGLExtension::ExtensionName OESTextureHalfFloat::getName() const
return OESTextureHalfFloatName;
}
-OwnPtr<OESTextureHalfFloat> OESTextureHalfFloat::create(WebGLRenderingContext* context)
-{
- return adoptPtr(new OESTextureHalfFloat(context));
-}
-
} // namespace WebCore
#endif // ENABLE(WEBGL)