| Index: samples/solar/web/solar.dart
|
| diff --git a/samples/solar/web/solar.dart b/samples/solar/web/solar.dart
|
| index 17c3514b74c4354f1f63114be65f3d3af378aa3f..44f813d962c2be5814cc6fb50e3b7ce15e095ef4 100644
|
| --- a/samples/solar/web/solar.dart
|
| +++ b/samples/solar/web/solar.dart
|
| @@ -68,7 +68,7 @@ class SolarSystem {
|
|
|
| start() {
|
| // Measure the canvas element.
|
| - window.setImmediate(() {
|
| + window.immediate.then((_) {
|
| _width = (canvas.parent as Element).clientWidth;
|
| _height = (canvas.parent as Element).clientHeight;
|
|
|
|
|