Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1396)

Unified Diff: source/common/brkiter.cpp

Issue 23532086: To use C++ API for BreakIterator in Blink, port getRuleStatus from ICU 52 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/icu46/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « patches/breakiterator.patch ('k') | source/common/unicode/brkiter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/brkiter.cpp
===================================================================
--- source/common/brkiter.cpp (revision 223384)
+++ source/common/brkiter.cpp (working copy)
@@ -436,6 +436,13 @@
return locBased.getLocaleID(type, status);
}
+// This implementation of getRuleStatus is a do-nothing stub, here to
+// provide a default implementation for any derived BreakIterator classes that
+// do not implement it themselves.
+int32_t BreakIterator::getRuleStatus() const {
+ return 0;
+}
+
U_NAMESPACE_END
#endif /* #if !UCONFIG_NO_BREAK_ITERATION */
« no previous file with comments | « patches/breakiterator.patch ('k') | source/common/unicode/brkiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698