Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: lib/html/src/Measurement.dart

Issue 11188029: Make arguments of MutationObserver named. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | lib/html/templates/html/impl/impl_MutationObserver.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/Measurement.dart
diff --git a/lib/html/src/Measurement.dart b/lib/html/src/Measurement.dart
index c2a03ec2e0674dab48fd05427af5de3cbacc006e..54eed3e5807bc13b3e718483c208d0ea4efb04a2 100644
--- a/lib/html/src/Measurement.dart
+++ b/lib/html/src/Measurement.dart
@@ -99,8 +99,7 @@ class _MutationObserverScheduler extends _MeasurementScheduler {
// so we just make a dummy event and listen for that.
_observer = new MutationObserver(this._handleMutation);
_dummy = new DivElement();
- // OPTIONALS _observer.observe(_dummy, attributes: true);
- _observer.observe(_dummy, {}, null, true);
+ _observer.observe(_dummy, attributes: true);
}
void _schedule() {
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | lib/html/templates/html/impl/impl_MutationObserver.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698