Title: [203112] trunk/Source/WTF
Revision
203112
Author
[email protected]
Date
2016-07-12 04:29:16 -0700 (Tue, 12 Jul 2016)

Log Message

JSCOnly bulidfix after r203078
https://bugs.webkit.org/show_bug.cgi?id=159669

Reviewed by Yusuke Suzuki.

* wtf/PlatformJSCOnly.cmake:
* wtf/text/jsconly/TextBreakIteratorInternalICUJSCOnly.cpp: Added.
(WTF::currentSearchLocaleID):
(WTF::currentTextBreakLocaleID):

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (203111 => 203112)


--- trunk/Source/WTF/ChangeLog	2016-07-12 11:14:43 UTC (rev 203111)
+++ trunk/Source/WTF/ChangeLog	2016-07-12 11:29:16 UTC (rev 203112)
@@ -1,3 +1,15 @@
+2016-07-12  Csaba Osztrogonác  <[email protected]>
+
+        JSCOnly bulidfix after r203078
+        https://bugs.webkit.org/show_bug.cgi?id=159669
+
+        Reviewed by Yusuke Suzuki.
+
+        * wtf/PlatformJSCOnly.cmake:
+        * wtf/text/jsconly/TextBreakIteratorInternalICUJSCOnly.cpp: Added.
+        (WTF::currentSearchLocaleID):
+        (WTF::currentTextBreakLocaleID):
+
 2016-07-12  Per Arne Vollan  <[email protected]>
 
         [Win] DLLs are missing version information.

Modified: trunk/Source/WTF/wtf/PlatformJSCOnly.cmake (203111 => 203112)


--- trunk/Source/WTF/wtf/PlatformJSCOnly.cmake	2016-07-12 11:14:43 UTC (rev 203111)
+++ trunk/Source/WTF/wtf/PlatformJSCOnly.cmake	2016-07-12 11:29:16 UTC (rev 203112)
@@ -1,5 +1,7 @@
 list(APPEND WTF_SOURCES
     PlatformUserPreferredLanguagesUnix.cpp
+
+    text/jsconly/TextBreakIteratorInternalICUJSCOnly.cpp
 )
 
 if (LOWERCASE_EVENT_LOOP_TYPE STREQUAL "glib")

Added: trunk/Source/WTF/wtf/text/jsconly/TextBreakIteratorInternalICUJSCOnly.cpp (0 => 203112)


--- trunk/Source/WTF/wtf/text/jsconly/TextBreakIteratorInternalICUJSCOnly.cpp	                        (rev 0)
+++ trunk/Source/WTF/wtf/text/jsconly/TextBreakIteratorInternalICUJSCOnly.cpp	2016-07-12 11:29:16 UTC (rev 203112)
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2007 Alp Toker <[email protected]>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "config.h"
+#include "TextBreakIteratorInternalICU.h"
+
+namespace WTF {
+
+const char* currentSearchLocaleID()
+{
+    // FIXME: Should use system locale.
+    return "";
+}
+
+const char* currentTextBreakLocaleID()
+{
+    // FIXME: Should use system locale.
+    return "en_us";
+}
+
+}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to