Changeset 29915 in webkit


Ignore:
Timestamp:
Feb 1, 2008 10:06:40 AM (16 years ago)
Author:
mitz@apple.com
Message:

Reviewed by Darin Adler.

fast/text/international/thai-line-breaks.html results do not change.

  • rendering/break_lines.cpp: (WebCore::nextBreakablePosition): Changed to use Carbon only on Tiger.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r29914 r29915  
     12008-02-01  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        - switch line breaking from using Carbon Unicode Utilities to using ICU
     6          on Leopard
     7          <http://bugs.webkit.org/show_bug.cgi?id=4628>
     8
     9        fast/text/international/thai-line-breaks.html results do not change.
     10
     11        * rendering/break_lines.cpp:
     12        (WebCore::nextBreakablePosition): Changed to use Carbon only on Tiger.
     13
    1142008-02-01  Rodney Dawes  <dobey@wayofthemonkey.com>
    215
  • trunk/WebCore/rendering/break_lines.cpp

    r25754 r29915  
    6363}
    6464
    65 #if PLATFORM(MAC)
     65#ifdef BUILDING_ON_TIGER
    6666static inline TextBreakLocatorRef lineBreakLocator()
    6767{
     
    7474int nextBreakablePosition(const UChar* str, int pos, int len, bool treatNoBreakSpaceAsBreak)
    7575{
    76 #if !PLATFORM(MAC)
     76#ifndef BUILDING_ON_TIGER
    7777    TextBreakIterator* breakIterator = 0;
    7878#endif
     
    8888        if (needsLineBreakIterator(ch) || needsLineBreakIterator(lastCh)) {
    8989            if (nextBreak < i && i) {
    90 #if !PLATFORM(MAC)
     90#ifndef BUILDING_ON_TIGER
    9191                if (!breakIterator)
    9292                    breakIterator = lineBreakIterator(str, len);
Note: See TracChangeset for help on using the changeset viewer.