| 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..fe0d234420581fc745c47f190d759d7366c5926b 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 Polymer.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');
|
|
|
| var completer = new Completer();
|
| - Platform.callMethod('endOfMicrotask', [() => completer.complete()]);
|
| + Polymer.callMethod('endOfMicrotask', [() => completer.complete()]);
|
| return completer.future;
|
| }
|
|
|