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