| 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 48d7ae9ff16fa5761c19116f5a0af6333f131d13..413a35d333b8d403d21bae728819c32aeee14c1c 100644
|
| --- a/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_MutationObserver.darttemplate
|
| @@ -84,18 +84,11 @@ $if DART2JS
|
| return JS('MutationObserver',
|
| 'new(window.MutationObserver||window.WebKitMutationObserver||'
|
| 'window.MozMutationObserver)(#)',
|
| - convertDartClosureToJS((changes, observer) {
|
| - _wrapZone(() {
|
| - callback(changes, observer);
|
| - });
|
| - }, 2));
|
| + convertDartClosureToJS(_wrapBinaryZone(callback), 2));
|
| }
|
| $else
|
| factory MutationObserver(MutationCallback callback) =>
|
| - new MutationObserver._((changes, observer) {
|
| - _wrapZone(() {
|
| - callback(changes, observer);
|
| - });
|
| + new MutationObserver._(_wrapBinaryZone(callback));
|
| });
|
| $endif
|
| }
|
|
|