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

paroga at webkit.org paroga at webkit.org
Wed Dec 22 13:39:20 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 1118ac6154d5d5ec3536f2c880452598ebe92fd7
Author: paroga at webkit.org <paroga at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 22 17:28:52 2010 +0000

    2010-09-22  Patrick Gansterer  <paroga at webkit.org>
    
            Reviewed by Darin Adler.
    
            Inline UTF8SequenceLength
            https://bugs.webkit.org/show_bug.cgi?id=45589
    
            * wtf/unicode/UTF8.cpp:
            (WTF::Unicode::convertUTF8ToUTF16): Use inline version of UTF8SequenceLength to improve performance.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68055 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index a3b5c81..7cb18f0 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-09-22  Patrick Gansterer  <paroga at webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Inline UTF8SequenceLength
+        https://bugs.webkit.org/show_bug.cgi?id=45589
+
+        * wtf/unicode/UTF8.cpp:
+        (WTF::Unicode::convertUTF8ToUTF16): Use inline version of UTF8SequenceLength to improve performance.
+
 2010-09-21  Oliver Hunt  <oliver at apple.com>
 
         RS=Gavin Barraclough.
diff --git a/JavaScriptCore/wtf/unicode/UTF8.cpp b/JavaScriptCore/wtf/unicode/UTF8.cpp
index 21d5856..40c5609 100644
--- a/JavaScriptCore/wtf/unicode/UTF8.cpp
+++ b/JavaScriptCore/wtf/unicode/UTF8.cpp
@@ -240,7 +240,7 @@ ConversionResult convertUTF8ToUTF16(
     UChar* target = *targetStart;
     while (source < sourceEnd) {
         UChar32 ch = 0;
-        int extraBytesToRead = UTF8SequenceLength(*source) - 1;
+        int extraBytesToRead = inlineUTF8SequenceLength(*source) - 1;
         if (source + extraBytesToRead >= sourceEnd) {
             result = sourceExhausted;
             break;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list