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