[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

rniwa at webkit.org rniwa at webkit.org
Wed Dec 22 18:04:25 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 0c8be79affe2917d50b9cb141336b1c554a1240d
Author: rniwa at webkit.org <rniwa at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Dec 6 21:19:20 2010 +0000

    2010-12-06  Ryosuke Niwa  <rniwa at webkit.org>
    
            Unreviewed build fix for Leopard after r73379.
    
            * platform/graphics/cg/GraphicsContextCG.cpp:
            (WebCore::GraphicsContext::setAllowsFontSmoothing):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73394 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 0a8386c..3e7b2b5 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-06  Ryosuke Niwa  <rniwa at webkit.org>
+
+        Unreviewed build fix for Leopard after r73379.
+
+        * platform/graphics/cg/GraphicsContextCG.cpp:
+        (WebCore::GraphicsContext::setAllowsFontSmoothing):
+
 2010-12-06  Nate Chapin  <japhet at chromium.org>
 
         Reviewed by Adam Barth.
diff --git a/WebCore/platform/graphics/cg/GraphicsContextCG.cpp b/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
index dbc070a..01773bb 100644
--- a/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
+++ b/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
@@ -42,6 +42,7 @@
 #include <wtf/MathExtras.h>
 #include <wtf/OwnArrayPtr.h>
 #include <wtf/RetainPtr.h>
+#include <wtf/UnusedParam.h>
 
 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)
 #include "WebCoreSystemInterface.h"
@@ -1118,8 +1119,11 @@ InterpolationQuality GraphicsContext::imageInterpolationQuality() const
 
 void GraphicsContext::setAllowsFontSmoothing(bool allowsFontSmoothing)
 {
+    UNUSED_PARAM(allowsFontSmoothing);
+#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
     CGContextRef context = platformContext();
     CGContextSetAllowsFontSmoothing(context, allowsFontSmoothing);
+#endif
 }
 
 void GraphicsContext::setPlatformTextDrawingMode(TextDrawingModeFlags mode)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list