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

Unified Diff: packages/charted/lib/core/text_metrics/segmentation.dart

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 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 | « packages/charted/lib/core/scales/time_scale.dart ('k') | packages/charted/lib/core/timer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/charted/lib/core/text_metrics/segmentation.dart
diff --git a/packages/charted/lib/core/text_metrics/segmentation.dart b/packages/charted/lib/core/text_metrics/segmentation.dart
index 058ac3895d5c5734f0023507702b27b987cf6daf..997099a42f2e3d14065fe82d673b9b39d9565c4b 100644
--- a/packages/charted/lib/core/text_metrics/segmentation.dart
+++ b/packages/charted/lib/core/text_metrics/segmentation.dart
@@ -185,7 +185,7 @@ int _typeForRune(int rune) {
return CODE_CATEGORY_OTHER; // Defaults to OTHER.
}
-Iterable<int> graphemeBreakIndices(String s) {
+List<int> graphemeBreakIndices(String s) {
List<int> indices = [];
int previousType = 0;
for (var iter = s.runes.iterator; iter.moveNext();) {
« no previous file with comments | « packages/charted/lib/core/scales/time_scale.dart ('k') | packages/charted/lib/core/timer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698