Reviewed by Richard.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Mar 2005 01:18:39 +0000 (01:18 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Mar 2005 01:18:39 +0000 (01:18 +0000)
        - fixed <rdar://problem/4037700> Every character typed causes stat call for /usr/share/icu/icudt32b_char.brk

        * khtml/rendering/render_text.cpp: (getCharacterBreakIterator): Set boolean "got iterator" to true.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8854 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_text.cpp

index b1024ee7fc5a41d9fc70625c0261cdaf8101fed2..6565461a5f6db2be52fb388a9db2cd34dc790898 100644 (file)
@@ -1,3 +1,11 @@
+2005-03-10  Darin Adler  <darin@apple.com>
+
+        Reviewed by Richard.
+
+        - fixed <rdar://problem/4037700> Every character typed causes stat call for /usr/share/icu/icudt32b_char.brk
+
+        * khtml/rendering/render_text.cpp: (getCharacterBreakIterator): Set boolean "got iterator" to true.
+
 === Safari-405 ===
 
 2005-03-10  Darin Adler  <darin@apple.com>
index 533df8a0e3125a813f759e8a6cac29550d60425e..e135ffc868036f941d5e001b0994e33d5a593e3c 100644 (file)
@@ -700,6 +700,7 @@ static UBreakIterator *getCharacterBreakIterator(const DOMStringImpl *i)
     if (!createdIterator) {
         status = U_ZERO_ERROR;
         iterator = ubrk_open(UBRK_CHARACTER, "en_us", NULL, 0, &status);
+        createdIterator = true;
     }
     if (!iterator) {
         return NULL;