| Index: sdk/lib/html/src/Measurement.dart
|
| diff --git a/sdk/lib/html/src/Measurement.dart b/sdk/lib/html/src/Measurement.dart
|
| index 7b72c93f3490cdf2e4391c1acaac0881a65c1cc7..7d34e7b2db819ea7a865dcc9ef2a3f633e01f8d0 100644
|
| --- a/sdk/lib/html/src/Measurement.dart
|
| +++ b/sdk/lib/html/src/Measurement.dart
|
| @@ -16,7 +16,6 @@ class _MeasurementRequest<T> {
|
|
|
| typedef void _MeasurementCallback();
|
|
|
| -
|
| /**
|
| * This class attempts to invoke a callback as soon as the current event stack
|
| * unwinds, but before the browser repaints.
|
| @@ -31,7 +30,7 @@ abstract class _MeasurementScheduler {
|
| * Creates the best possible measurement scheduler for the current platform.
|
| */
|
| factory _MeasurementScheduler.best(_MeasurementCallback callback) {
|
| - if (_isMutationObserverSupported()) {
|
| + if (MutationObserver.supported) {
|
| return new _MutationObserverScheduler(callback);
|
| }
|
| return new _PostMessageScheduler(callback);
|
|
|