Chromium Code Reviews| Index: pkg/polymer/test/js_interop_test.dart |
| diff --git a/pkg/polymer/test/js_interop_test.dart b/pkg/polymer/test/js_interop_test.dart |
| index b8cdd5a7a2deb6bc0f00540e2f47b8b8664baf8c..ffae802ef531b8125f8f99f80c07397a74d2242d 100644 |
| --- a/pkg/polymer/test/js_interop_test.dart |
| +++ b/pkg/polymer/test/js_interop_test.dart |
| @@ -137,13 +137,13 @@ testInterop(jsElem) { |
| }); |
| } |
| -/// Calls Platform.flush() to flush Polymer.js pending operations, e.g. |
| +/// Calls WebComponents.flush() to flush Polymer.js pending operations, e.g. |
| /// dirty checking for data-bindings. |
| Future flush() { |
| - var Platform = context['Platform']; |
| - Platform.callMethod('flush'); |
| + var Polymer = context['Polymer']; |
| + Polymer.callMethod('flush'); |
|
Siggi Cherem (dart-lang)
2014/11/25 17:53:41
same here as in instance.dart -- I thought this wo
jakemac
2014/12/01 18:42:50
Updated comment
|
| var completer = new Completer(); |
| - Platform.callMethod('endOfMicrotask', [() => completer.complete()]); |
| + Polymer.callMethod('endOfMicrotask', [() => completer.complete()]); |
| return completer.future; |
| } |