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

Unified Diff: pkg/intl/lib/intl_standalone.dart

Issue 11773019: Fix use of chain in intl library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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: pkg/intl/lib/intl_standalone.dart
diff --git a/pkg/intl/lib/intl_standalone.dart b/pkg/intl/lib/intl_standalone.dart
index cf2e4ef4f10c4e56652b8df4f7e545eb95552788..cce7722eead2d850eb85bba473e682789d92e7ba 100644
--- a/pkg/intl/lib/intl_standalone.dart
+++ b/pkg/intl/lib/intl_standalone.dart
@@ -81,7 +81,7 @@ String _checkEnvironmentVariable() {
*/
Future _getAppleDefaults() {
var p = Process.run('defaults', ['read', '-g', 'AppleLocale']);
- var myResult = p.chain((result) => _checkResult(result, _appleDefaultsRegex));
+ var myResult = p.then((result) => _checkResult(result, _appleDefaultsRegex));
return myResult;
}
@@ -90,7 +90,7 @@ Future _getAppleDefaults() {
*/
Future _getWindowsSystemInfo() {
var p = Process.run('systeminfo', []);
- var myResult = p.chain((result) => _checkResult(result, _sysInfoRegex));
+ var myResult = p.then((result) => _checkResult(result, _sysInfoRegex));
return myResult;
}
« 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