diff --git a/qtwebkit/Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.h b/qtwebkit/Source/WebCore/platform/graphics/texmap/TextureMapperImag index 9de6d4c..632ec66 100644 --- a/qtwebkit/Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.h +++ b/qtwebkit/Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.h @@ -65,7 +65,7 @@ public: virtual void drawSolidColor(const FloatRect&, const TransformationMatrix&, const Color&) OVERRIDE; virtual void beginClip(const TransformationMatrix&, const FloatRect&) OVERRIDE; virtual void bindSurface(BitmapTexture* surface) OVERRIDE { m_currentSurface = surface;} - virtual void endClip() OVERRIDE { graphicsContext()->restore(); } + virtual void endClip() OVERRIDE { currentContext()->restore(); } virtual IntSize maxTextureSize() const; virtual PassRefPtr createTexture() OVERRIDE { return BitmapTextureImageBuffer::create(); }