[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

tkent at chromium.org tkent at chromium.org
Fri Jan 21 14:54:17 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit 47a9fa0a7c4dc5c21ee02c7b9828ae1d93129410
Author: tkent at chromium.org <tkent at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jan 4 08:33:16 2011 +0000

    2011-01-04  Kent Tamura  <tkent at chromium.org>
    
            Unreviewed, build fix.
    
            Try to fix Clang build.
    
            * css/CSSParser.cpp:
            (WebCore::valueFromSideKeyword):
            (WebCore::CSSParser::parseLinearGradient):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74959 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 48a7a52..87812f4 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-04  Kent Tamura  <tkent at chromium.org>
+
+        Unreviewed, build fix.
+
+        Try to fix Clang build.
+
+        * css/CSSParser.cpp:
+        (WebCore::valueFromSideKeyword):
+        (WebCore::CSSParser::parseLinearGradient):
+
 2011-01-03  Julie-Jeongeun-Kim  <Jeongeun.Kim at obigo.com>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/css/CSSParser.cpp b/WebCore/css/CSSParser.cpp
index bf2143c..f817bb9 100644
--- a/WebCore/css/CSSParser.cpp
+++ b/WebCore/css/CSSParser.cpp
@@ -4876,7 +4876,7 @@ static PassRefPtr<CSSPrimitiveValue> valueFromSideKeyword(CSSParserValue* a, boo
             isHorizontal = false;
             break;
         default:
-            return false;
+            return 0;
     }
     return CSSPrimitiveValue::createIdentifier(a->id);
 }
@@ -4917,7 +4917,7 @@ bool CSSParser::parseLinearGradient(RefPtr<CSSValue>& gradient)
         
         RefPtr<CSSPrimitiveValue> location;
         bool isHorizontal = false;
-        if (location = valueFromSideKeyword(a, isHorizontal)) {
+        if ((location = valueFromSideKeyword(a, isHorizontal))) {
             if (isHorizontal)
                 startX = location;
             else
@@ -4925,7 +4925,7 @@ bool CSSParser::parseLinearGradient(RefPtr<CSSValue>& gradient)
             
             a = args->next();
             if (a) {
-                if (location = valueFromSideKeyword(a, isHorizontal)) {
+                if ((location = valueFromSideKeyword(a, isHorizontal))) {
                     if (isHorizontal) {
                         if (startX)
                             return false;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list