2011-01-31 Yury Semikhatsky <yurys@chromium.org>
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Jan 2011 11:10:30 +0000 (11:10 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Jan 2011 11:10:30 +0000 (11:10 +0000)
        Unreviewed. Fix Chromium compilation on Linux.

        * platform/graphics/ShadowBlur.cpp: added PLATFORM(CHROMIUM) guard
        * platform/graphics/ShadowBlur.h: added missing ColorSpace.h header include

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ShadowBlur.cpp
Source/WebCore/platform/graphics/ShadowBlur.h

index d315bc1..f6c6dbe 100644 (file)
@@ -1,5 +1,12 @@
 2011-01-31  Yury Semikhatsky  <yurys@chromium.org>
 
+        Unreviewed. Fix Chromium compilation on Linux.
+
+        * platform/graphics/ShadowBlur.cpp: added PLATFORM(CHROMIUM) guard
+        * platform/graphics/ShadowBlur.h: added missing ColorSpace.h header include
+
+2011-01-31  Yury Semikhatsky  <yurys@chromium.org>
+
         Unreviewed. Fix Chromium compilation on Mac broken by r77101.
 
         * WebCore.gypi: add ShadowBlur.{h,cpp} to the gypi file.
index ac9e775..e59dbf9 100644 (file)
@@ -597,7 +597,7 @@ void ShadowBlur::drawRectShadowWithTiling(GraphicsContext* graphicsContext, cons
     ScratchBuffer::shared().scheduleScratchBufferPurge();
 }
 
-#if !PLATFORM(CG)
+#if !PLATFORM(CG) && !PLATFORM(CHROMIUM)
 IntRect ShadowBlur::clipBounds(GraphicsContext*)
 {
     // FIXME: add clipBounds() to GraphicsContext.
index e96c992..7c83d52 100644 (file)
@@ -30,6 +30,7 @@
 #define ShadowBlur_h
 
 #include "Color.h"
+#include "ColorSpace.h"
 #include "FloatRect.h"
 #include "RoundedIntRect.h"
 #include <wtf/Noncopyable.h>