| Index: pkg/polymer/lib/src/instance.dart
|
| diff --git a/pkg/polymer/lib/src/instance.dart b/pkg/polymer/lib/src/instance.dart
|
| index 3e81df732a68ed04f43fe2524e36a5cffa1c2486..0dfefede21fd1d624f006bcb8f63956bfb06bc65 100644
|
| --- a/pkg/polymer/lib/src/instance.dart
|
| +++ b/pkg/polymer/lib/src/instance.dart
|
| @@ -133,7 +133,7 @@ abstract class Polymer implements Element {
|
| // https://groups.google.com/d/msg/polymer-dev/W0ZUpU5caIM/v5itFnvnehEJ
|
| // Same issue with inserted and removed.
|
| void polymerCreated() {
|
| - if (this.ownerDocument.window != null || alwaysPrepare ||
|
| + if (this.document.window != null || alwaysPrepare ||
|
| _preparingElements > 0) {
|
| prepareElement();
|
| }
|
|
|