diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp b/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp index 9e992381c..a0b76cc88 100644 --- a/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp +++ b/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp @@ -56,18 +56,18 @@ typedef char GLchar; #define GL_DEPTH24_STENCIL8 0x88F0 #endif -class GraphicsContext3DPrivate +class GraphicsContext3DPrivate final : public TextureMapperPlatformLayer { public: GraphicsContext3DPrivate(GraphicsContext3D*, HostWindow*, GraphicsContext3D::RenderStyle); ~GraphicsContext3DPrivate(); - void paintToTextureMapper(TextureMapper&, const FloatRect& target, const TransformationMatrix&, float opacity) override; + void paintToTextureMapper(TextureMapper&, const FloatRect& target, const TransformationMatrix&, float opacity) final; #if USE(GRAPHICS_SURFACE) - IntSize platformLayerSize() const override; - uint32_t copyToGraphicsSurface() override; - GraphicsSurfaceToken graphicsSurfaceToken() const override; + IntSize platformLayerSize() const final; + uint32_t copyToGraphicsSurface() final; + GraphicsSurfaceToken graphicsSurfaceToken() const final; #endif QRectF boundingRect() const; @@ -365,6 +365,8 @@ void GraphicsContext3DPrivate::createGraphicsSurfaces(const IntSize& size) m_graphicsSurface = nullptr; else m_graphicsSurface = GraphicsSurface::create(size, m_surfaceFlags, m_platformContext); +#else + UNUSED_PARAM(size); #endif } |