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

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

Issue 11184007: Support new named arguments. (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
Index: lib/html/src/Measurement.dart
diff --git a/lib/html/src/Measurement.dart b/lib/html/src/Measurement.dart
index e69342f1a7315bc3886e204753b18444da9aee28..c2a03ec2e0674dab48fd05427af5de3cbacc006e 100644
--- a/lib/html/src/Measurement.dart
+++ b/lib/html/src/Measurement.dart
@@ -99,7 +99,8 @@ class _MutationObserverScheduler extends _MeasurementScheduler {
// so we just make a dummy event and listen for that.
_observer = new MutationObserver(this._handleMutation);
_dummy = new DivElement();
- _observer.observe(_dummy, {}, attributes: true);
+ // OPTIONALS _observer.observe(_dummy, attributes: true);
+ _observer.observe(_dummy, {}, null, true);
}
void _schedule() {
« no previous file with comments | « no previous file | tests/html/async_window_test.dart » ('j') | tests/html/canvas_pixel_array_type_alias_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698