| Index: pkg/web_components/lib/polyfill.dart
|
| diff --git a/pkg/web_components/lib/polyfill.dart b/pkg/web_components/lib/polyfill.dart
|
| index a141c4d60860ca170e31a6e0c140e83bca5a85de..6e7bbd95e7acfa214a3362bbc79f297849bc032a 100644
|
| --- a/pkg/web_components/lib/polyfill.dart
|
| +++ b/pkg/web_components/lib/polyfill.dart
|
| @@ -54,9 +54,8 @@ bool get _isReady {
|
| * This method can be used to resolve differences in timing between native and
|
| * polyfilled custom elements.
|
| */
|
| -void customElementsTakeRecords() {
|
| +void customElementsTakeRecords([Node node]) {
|
| var customElements = js.context['CustomElements'];
|
| - if (customElements != null) {
|
| - customElements.callMethod('takeRecords');
|
| - }
|
| + if (customElements == null) return;
|
| + customElements.callMethod('takeRecords', [node]);
|
| }
|
|
|