Drawing an SVG image into a canvas using drawImage() ignores globalAlpha.
authorsaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Feb 2015 23:04:53 +0000 (23:04 +0000)
committersaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Feb 2015 23:04:53 +0000 (23:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141729.

Reviewed by Daniel Bates.

Fix a build break which is caused by http://trac.webkit.org/changeset/180511/trunk.
Two functions of GraphicsContext were made inline but they were kept WEBCORE_EXPORT.

* platform/graphics/GraphicsContext.h:
(WebCore::GraphicsContext::paintingDisabled):
(WebCore::GraphicsContext::updatingControlTints):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/GraphicsContext.h

index 912ee81..95024cf 100644 (file)
@@ -1,3 +1,17 @@
+2015-02-23  Said Abou-Hallawa  <sabouhallawa@apple.com>
+
+        Drawing an SVG image into a canvas using drawImage() ignores globalAlpha.
+        https://bugs.webkit.org/show_bug.cgi?id=141729.
+
+        Reviewed by Daniel Bates.
+
+        Fix a build break which is caused by http://trac.webkit.org/changeset/180511/trunk.
+        Two functions of GraphicsContext were made inline but they were kept WEBCORE_EXPORT.
+
+        * platform/graphics/GraphicsContext.h:
+        (WebCore::GraphicsContext::paintingDisabled):
+        (WebCore::GraphicsContext::updatingControlTints):
+
 2015-02-22  Dean Jackson  <dino@apple.com>
 
         [iOS] Max canvas size is lower than expected
index f8fbc35..784b10c 100644 (file)
@@ -360,10 +360,10 @@ namespace WebCore {
         void drawLineForDocumentMarker(const FloatPoint&, float width, DocumentMarkerLineStyle);
 
         void setPaintingDisabled(bool paintingDisabled) { m_state.paintingDisabled = paintingDisabled; }
-        WEBCORE_EXPORT bool paintingDisabled() const { return m_state.paintingDisabled; }
+        bool paintingDisabled() const { return m_state.paintingDisabled; }
 
         void setUpdatingControlTints(bool);
-        WEBCORE_EXPORT bool updatingControlTints() const { return m_updatingControlTints; }
+        bool updatingControlTints() const { return m_updatingControlTints; }
 
         WEBCORE_EXPORT void beginTransparencyLayer(float opacity);
         WEBCORE_EXPORT void endTransparencyLayer();