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

alice.liu at apple.com alice.liu at apple.com
Wed Dec 22 18:29:07 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit cbdcddcacfe9b7fd65d039b947fe4a41d2ab9f3d
Author: alice.liu at apple.com <alice.liu at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Dec 12 07:42:55 2010 +0000

    Mac build fix.
    
    * platform/network/mac/ResourceResponseMac.mm:
    (WebCore::ResourceResponse::platformLazyInit):
    Resolve string[0] ambiguity by passing 0U.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73868 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 6401759..bea7373 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,11 @@
+2010-12-11  Alice Liu  <alice.liu at apple.com>
+
+        Mac build fix.
+
+        * platform/network/mac/ResourceResponseMac.mm:
+        (WebCore::ResourceResponse::platformLazyInit):
+        Resolve string[0] ambiguity by passing 0U.
+
 2010-12-11  Adam Barth  <abarth at webkit.org>
 
         Reviewed by Sam Weinig.
diff --git a/WebCore/platform/network/mac/ResourceResponseMac.mm b/WebCore/platform/network/mac/ResourceResponseMac.mm
index c73028a..4376b64 100644
--- a/WebCore/platform/network/mac/ResourceResponseMac.mm
+++ b/WebCore/platform/network/mac/ResourceResponseMac.mm
@@ -77,7 +77,7 @@ void ResourceResponse::platformLazyInit()
 
     // Workaround for <rdar://problem/8757088>, can be removed once that is fixed.
     unsigned textEncodingNameLength = m_textEncodingName.length();
-    if (textEncodingNameLength >= 2 && m_textEncodingName[0] == '"' && m_textEncodingName[textEncodingNameLength - 1] == '"')
+    if (textEncodingNameLength >= 2 && m_textEncodingName[0U] == '"' && m_textEncodingName[textEncodingNameLength - 1] == '"')
         m_textEncodingName = m_textEncodingName.substring(1, textEncodingNameLength - 2);
 
     m_suggestedFilename = [m_nsResponse.get() suggestedFilename];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list