Index: client/html/src/WindowWrappingImplementation.dart |
diff --git a/client/html/src/WindowWrappingImplementation.dart b/client/html/src/WindowWrappingImplementation.dart |
index bfa7af7541fbc2e4970b2c0f5d265c7aa643cebb..a4f8b9c954f10c66c1af42d722bbbc12e38daf6d 100644 |
--- a/client/html/src/WindowWrappingImplementation.dart |
+++ b/client/html/src/WindowWrappingImplementation.dart |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -803,7 +803,6 @@ class WindowWrappingImplementation extends EventTargetWrappingImplementation imp |
} |
Point webkitConvertPointFromNodeToPage([Node node = null, Point p = null]) { |
- assert(_inMeasurementFrame); |
if (node === null) { |
if (p === null) { |
return LevelDom.wrapPoint(_ptr.webkitConvertPointFromNodeToPage()); |
@@ -819,7 +818,6 @@ class WindowWrappingImplementation extends EventTargetWrappingImplementation imp |
} |
Point webkitConvertPointFromPageToNode([Node node = null, Point p = null]) { |
- assert(_inMeasurementFrame); |
if (node === null) { |
if (p === null) { |
return LevelDom.wrapPoint(_ptr.webkitConvertPointFromPageToNode()); |
@@ -838,12 +836,10 @@ class WindowWrappingImplementation extends EventTargetWrappingImplementation imp |
return _ptr.webkitRequestAnimationFrame(callback, LevelDom.unwrap(element)); |
} |
- void requestMeasurementFrame(MeasurementCallback callback) { |
+ void requestLayoutFrame(TimeoutHandler callback) { |
_addMeasurementFrameCallback(callback); |
} |
- bool get inMeasurementFrame() => _inMeasurementFrame; |
- |
WindowEvents get on() { |
if (_on === null) { |
_on = new WindowEventsImplementation._wrap(_ptr); |