| Index: samples/solar3d/web/solar.dart
|
| diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart
|
| index 1f828f9df20d0b047494a8830a1526508e5bcf43..ec47de6756bda977fa038b91290ee43f88b39758 100644
|
| --- a/samples/solar3d/web/solar.dart
|
| +++ b/samples/solar3d/web/solar.dart
|
| @@ -60,7 +60,7 @@ class Solar3DApplication {
|
| skyBox = new Skybox(glContext);
|
| orbitPath = new OrbitPath(glContext);
|
| // Measure the canvas element.
|
| - window.setImmediate(() {
|
| + window.immediate.then((_) {
|
| canvas.width = (canvas.parent as Element).clientWidth;
|
| canvas.height = 400;
|
|
|
|
|