Changeset 30624 in webkit


Ignore:
Timestamp:
Feb 27, 2008 8:50:19 AM (16 years ago)
Author:
ap@webkit.org
Message:

2008-02-27 Sriram Neelakandan <sriram.neelakandan@gmail.com>

Reviewed, tweaked and landed by ap.

http://bugs.webkit.org/show_bug.cgi?id=17487
HTMLInput mysteriously fails to work if ICU dat file is missing

  • platform/text/TextBreakIteratorICU.cpp: (WebCore::setUpIterator): Assert that the iterator has been opened.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r30622 r30624  
     12008-02-27  Sriram Neelakandan  <sriram.neelakandan@gmail.com>
     2
     3        Reviewed, tweaked and landed by ap.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=17487
     6        HTMLInput mysteriously fails to work if ICU dat file is missing
     7
     8        * platform/text/TextBreakIteratorICU.cpp: (WebCore::setUpIterator): Assert that the iterator
     9        has been opened.
     10
    1112008-02-27  Adam Roben  <aroben@apple.com>
    212
  • trunk/WebCore/platform/text/TextBreakIteratorICU.cpp

    r29663 r30624  
    2626
    2727#include <unicode/ubrk.h>
     28#include <wtf/Assertions.h>
    2829
    2930namespace WebCore {
     
    3940        iterator = static_cast<TextBreakIterator*>(ubrk_open(type, currentTextBreakLocaleID(), 0, 0, &openStatus));
    4041        createdIterator = true;
     42        ASSERT_WITH_MESSAGE(U_SUCCESS(openStatus), "ICU could not open a break iterator: %s (%d)", u_errorName(openStatus), openStatus);
    4143    }
    4244    if (!iterator)
Note: See TracChangeset for help on using the changeset viewer.