[BlackBerry] Add BlendMode parameter to GraphicsContext::setPlatformCompositeOperation
[WebKit-https.git] / Source / WebCore / platform / graphics / blackberry / GraphicsContextBlackBerry.cpp
index c29f86d..47ae49d 100644 (file)
@@ -395,15 +395,6 @@ IntRect GraphicsContext::clipBounds() const
     return IntRect(IntPoint(INT_MIN / 2, INT_MIN / 2), IntSize(INT_MAX, INT_MAX));
 }
 
-
-void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
-{
-    if (paintingDisabled())
-        return;
-
-    fprintf(stderr, "clip rounded rect %d,%d,%d,%d - %d\n", rect.x(), rect.y(), rect.width(), rect.height(), thickness);
-}
-
 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect)
 {
 }
@@ -448,12 +439,12 @@ void GraphicsContext::setPlatformFillColor(const Color& color, ColorSpace colorS
     platformContext()->setFillColor(color.rgb());
 }
 
-void GraphicsContext::setPlatformCompositeOperation(CompositeOperator op)
+void GraphicsContext::setPlatformCompositeOperation(CompositeOperator op, BlendMode blendMode)
 {
     if (paintingDisabled())
         return;
 
-    platformContext()->setCompositeOperation(static_cast<BlackBerry::Platform::Graphics::CompositeOperator>(op));
+    platformContext()->setCompositeOperation(static_cast<BlackBerry::Platform::Graphics::CompositeOperator>(op), blendMode);
 }
 
 void GraphicsContext::setPlatformShouldAntialias(bool enable)