[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:28:11 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 0dc408684c3fde33b32c0fa22a5e08c9aa500e74
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jul 30 19:05:07 2002 +0000

            Wow!  Avoid creation of unicode string when only a single character
            is needed.  Simple change for big gains, 7% - 10% improvement
            on cached pages.  Other similar gains may remain to be had.
    
            * khtml/css/cssparser.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1699 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index fd817ab..bd647ae 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,11 @@
+2002-07-30  Richard Williamson  <rjw at apple.com>
+
+        Wow!  Avoid creation of unicode string when only a single character
+        is needed.  Simple change for big gains, 7% - 10% improvement
+        on cached pages.  Other similar gains may remain to be had.
+        
+        * khtml/css/cssparser.cpp:
+
 2002-07-30  Darin Adler  <darin at apple.com>
 
         * khtml/css/makevalues: Fail if we don't find gperf.
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index fd817ab..bd647ae 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,11 @@
+2002-07-30  Richard Williamson  <rjw at apple.com>
+
+        Wow!  Avoid creation of unicode string when only a single character
+        is needed.  Simple change for big gains, 7% - 10% improvement
+        on cached pages.  Other similar gains may remain to be had.
+        
+        * khtml/css/cssparser.cpp:
+
 2002-07-30  Darin Adler  <darin at apple.com>
 
         * khtml/css/makevalues: Fail if we don't find gperf.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index fd817ab..bd647ae 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,11 @@
+2002-07-30  Richard Williamson  <rjw at apple.com>
+
+        Wow!  Avoid creation of unicode string when only a single character
+        is needed.  Simple change for big gains, 7% - 10% improvement
+        on cached pages.  Other similar gains may remain to be had.
+        
+        * khtml/css/cssparser.cpp:
+
 2002-07-30  Darin Adler  <darin at apple.com>
 
         * khtml/css/makevalues: Fail if we don't find gperf.
diff --git a/WebCore/khtml/css/cssparser.cpp b/WebCore/khtml/css/cssparser.cpp
index a7a61e6..309bb2f 100644
--- a/WebCore/khtml/css/cssparser.cpp
+++ b/WebCore/khtml/css/cssparser.cpp
@@ -844,7 +844,11 @@ public:
     bool strictParsing;
 
     QChar getChar() {
+#ifdef APPLE_CHANGES    
+      return ( m_yyPos == m_yyIn.length() ) ? QChar('\0') : m_yyIn.at(m_yyPos++);
+#else
       return ( m_yyPos == m_yyIn.length() ) ? QChar('\0') : m_yyIn.unicode()[m_yyPos++];
+#endif
     }
 
     void startTokenizer( const QString& str, bool _strictParsing ) {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list