Title: [129731] trunk/Source/WebCore
- Revision
- 129731
- Author
- [email protected]
- Date
- 2012-09-27 00:25:13 -0700 (Thu, 27 Sep 2012)
Log Message
Build fix for !USE(ICU_UNICODE) after r129662.
Convert LChar to UChar so we can call the existing function until the
other TextBreakIterator implemenations provide an overload for LChar.
* platform/text/TextBreakIterator.cpp:
(WebCore):
(WebCore::acquireLineBreakIterator):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (129730 => 129731)
--- trunk/Source/WebCore/ChangeLog 2012-09-27 07:01:07 UTC (rev 129730)
+++ trunk/Source/WebCore/ChangeLog 2012-09-27 07:25:13 UTC (rev 129731)
@@ -1,3 +1,14 @@
+2012-09-27 Patrick Gansterer <[email protected]>
+
+ Build fix for !USE(ICU_UNICODE) after r129662.
+
+ Convert LChar to UChar so we can call the existing function until the
+ other TextBreakIterator implemenations provide an overload for LChar.
+
+ * platform/text/TextBreakIterator.cpp:
+ (WebCore):
+ (WebCore::acquireLineBreakIterator):
+
2012-09-26 Yoshifumi Inoue <[email protected]>
[Forms] Move multiple fields related functions to BaseDateAndTimeInputType from TimeInputType
Modified: trunk/Source/WebCore/platform/text/TextBreakIterator.cpp (129730 => 129731)
--- trunk/Source/WebCore/platform/text/TextBreakIterator.cpp 2012-09-27 07:01:07 UTC (rev 129730)
+++ trunk/Source/WebCore/platform/text/TextBreakIterator.cpp 2012-09-27 07:25:13 UTC (rev 129731)
@@ -49,4 +49,14 @@
return textBreakCurrent(it);
}
+#if !USE(ICU_UNICODE)
+TextBreakIterator* acquireLineBreakIterator(const LChar* string, int length, const AtomicString& locale)
+{
+ Vector<UChar> utf16string(length);
+ for (int i = 0; i < length; ++i)
+ utf16string[i] = string[i];
+ return acquireLineBreakIterator(utf16string.data(), length, locale);
+}
+#endif
+
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes