[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

ap at apple.com ap at apple.com
Sun Feb 20 23:06:58 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 537371677149b8f5313608ba57544ab010a52768
Author: ap at apple.com <ap at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jan 17 19:36:19 2011 +0000

            Leopard build fix.
    
            * page/PrintContext.cpp: GCC complained about shortening a double value to float.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75958 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 2a3a6fa..c3226be 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,5 +1,11 @@
 2011-01-17  Alexey Proskuryakov  <ap at apple.com>
 
+        Leopard build fix.
+
+        * page/PrintContext.cpp: GCC complained about shortening a double value to float.
+
+2011-01-17  Alexey Proskuryakov  <ap at apple.com>
+
         Reviewed by Dan Bernstein.
 
         https://bugs.webkit.org/show_bug.cgi?id=52495
diff --git a/Source/WebCore/page/PrintContext.cpp b/Source/WebCore/page/PrintContext.cpp
index d322c29..e82420d 100644
--- a/Source/WebCore/page/PrintContext.cpp
+++ b/Source/WebCore/page/PrintContext.cpp
@@ -35,7 +35,7 @@ namespace WebCore {
 // print in IE and Camino. This lets them use fewer sheets than they
 // would otherwise, which is presumably why other browsers do this.
 // Wide pages will be scaled down more than this.
-const float printingMinimumShrinkFactor = 1.25;
+const float printingMinimumShrinkFactor = 1.25f;
 
 // This number determines how small we are willing to reduce the page content
 // in order to accommodate the widest line. If the page would have to be

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list