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

Unified Diff: runtime/lib/string_patch.dart

Issue 921713002: Fix last-minute-typo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Two last minute typos Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/string_patch.dart
diff --git a/runtime/lib/string_patch.dart b/runtime/lib/string_patch.dart
index 12d788deb0f98278d5081ba528379edee31e3e72..f584410861cc4f8838a07be46a853edcf68e5801 100644
--- a/runtime/lib/string_patch.dart
+++ b/runtime/lib/string_patch.dart
@@ -729,11 +729,11 @@ class _StringBase {
if (match.end < this.length) {
length += _addReplaceSlice(slices, match.end, this.length);
}
- bool replacementIsOneByte = _replacement._isOneByte;
+ bool replacementIsOneByte = replacement._isOneByte;
if (replacementIsOneByte &&
length < _maxJoinReplaceOneByteStringLength &&
this._isOneByte) {
- return _joinReplaceAllOneByteResult(this, matches, length);
+ return _joinReplaceAllOneByteResult(this, slices, length);
}
return _joinReplaceAllResult(this, slices, length, replacementIsOneByte);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698