summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/canvas/OESStandardDerivatives.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/canvas/OESStandardDerivatives.h')
-rw-r--r--Source/WebCore/html/canvas/OESStandardDerivatives.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/Source/WebCore/html/canvas/OESStandardDerivatives.h b/Source/WebCore/html/canvas/OESStandardDerivatives.h
index a21dfd89c..ccfc88406 100644
--- a/Source/WebCore/html/canvas/OESStandardDerivatives.h
+++ b/Source/WebCore/html/canvas/OESStandardDerivatives.h
@@ -23,25 +23,18 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef OESStandardDerivatives_h
-#define OESStandardDerivatives_h
+#pragma once
#include "WebGLExtension.h"
-#include <wtf/PassOwnPtr.h>
namespace WebCore {
-class OESStandardDerivatives : public WebGLExtension {
+class OESStandardDerivatives final : public WebGLExtension {
public:
- static OwnPtr<OESStandardDerivatives> create(WebGLRenderingContext*);
-
+ explicit OESStandardDerivatives(WebGLRenderingContextBase&);
virtual ~OESStandardDerivatives();
- virtual ExtensionName getName() const override;
-private:
- OESStandardDerivatives(WebGLRenderingContext*);
+ ExtensionName getName() const override;
};
} // namespace WebCore
-
-#endif // OESStandardDerivatives_h