| Index: tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate b/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
|
| index 6fcaf31cbbb95e06ac5260d2815bf5d8b2381cba..bc036b44e8385692b351282d4ca97c9baedb22a3 100644
|
| --- a/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
|
| @@ -84,7 +84,10 @@ $if DART2JS
|
| return JS('MutationObserver',
|
| 'new(window.MutationObserver||window.WebKitMutationObserver||'
|
| 'window.MozMutationObserver)(#)',
|
| - convertDartClosureToJS(callback, 2));
|
| + convertDartClosureToJS(_wrapZone(callback), 2));
|
| }
|
| +$else
|
| + factory MutationObserver(MutationCallback callback) =>
|
| + new MutationObserver._(_wrapZone(callback));
|
| $endif
|
| }
|
|
|