[BlackBerry] Add BlendMode parameter to GraphicsContext::setPlatformCompositeOperation
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 15:59:17 +0000 (15:59 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 15:59:17 +0000 (15:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111840

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-08
Reviewed by Rob Buis.

This parameter was added in r137011.

* platform/graphics/blackberry/GraphicsContextBlackBerry.cpp:
(WebCore::GraphicsContext::setPlatformCompositeOperation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145225 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/blackberry/GraphicsContextBlackBerry.cpp

index 6294b11..c05f75c 100644 (file)
@@ -1,5 +1,17 @@
 2013-03-08  Alberto Garcia  <agarcia@igalia.com>
 
+        [BlackBerry] Add BlendMode parameter to GraphicsContext::setPlatformCompositeOperation
+        https://bugs.webkit.org/show_bug.cgi?id=111840
+
+        Reviewed by Rob Buis.
+
+        This parameter was added in r137011.
+
+        * platform/graphics/blackberry/GraphicsContextBlackBerry.cpp:
+        (WebCore::GraphicsContext::setPlatformCompositeOperation):
+
+2013-03-08  Alberto Garcia  <agarcia@igalia.com>
+
         [BlackBerry] Remove unused GraphicsContext::addInnerRoundedRectClip()
         https://bugs.webkit.org/show_bug.cgi?id=111838
 
index f4d7c17..47ae49d 100644 (file)
@@ -439,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)