summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/skia/GraphicsContextSkia.cpp')
-rw-r--r--WebCore/platform/graphics/skia/GraphicsContextSkia.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp b/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
index 7bcd84b..fe7f6ce 100644
--- a/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
+++ b/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
@@ -53,6 +53,7 @@
#include <math.h>
#include <wtf/Assertions.h>
#include <wtf/MathExtras.h>
+#include <wtf/UnusedParam.h>
#if USE(GLES2_RENDERING)
#include "GLES2Canvas.h"
@@ -455,17 +456,6 @@ void GraphicsContext::clipPath(WindRule clipRule)
platformContext()->clipPathAntiAliased(path);
}
-void GraphicsContext::clipToImageBuffer(const FloatRect& rect,
- const ImageBuffer* imageBuffer)
-{
- if (paintingDisabled())
- return;
-
-#if OS(LINUX) || OS(WINDOWS)
- platformContext()->beginLayerClippedToImage(rect, imageBuffer);
-#endif
-}
-
void GraphicsContext::concatCTM(const AffineTransform& affine)
{
if (paintingDisabled())