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