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

Unified Diff: client/html/src/TextWrappingImplementation.dart

Issue 9145004: Revert "Example showing alternate async measurement solution" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « client/html/src/SVGElementWrappingImplementation.dart ('k') | client/html/src/Window.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/TextWrappingImplementation.dart
diff --git a/client/html/src/TextWrappingImplementation.dart b/client/html/src/TextWrappingImplementation.dart
index 9db52e66b59480a2a0eaf1520420831024d58044..33438aed9bfdfabfaf1261faf84aa11e6c6c0304 100644
--- a/client/html/src/TextWrappingImplementation.dart
+++ b/client/html/src/TextWrappingImplementation.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.
@@ -14,7 +14,6 @@ class TextWrappingImplementation extends CharacterDataWrappingImplementation imp
String get wholeText() => _ptr.wholeText;
Text replaceWholeText([String content = null]) {
- assert(!_inMeasurementFrame || !_inDocument);
if (content === null) {
return LevelDom.wrapText(_ptr.replaceWholeText());
} else {
@@ -23,7 +22,6 @@ class TextWrappingImplementation extends CharacterDataWrappingImplementation imp
}
Text splitText([int offset = null]) {
- assert(!_inMeasurementFrame || !_inDocument);
if (offset === null) {
return LevelDom.wrapText(_ptr.splitText());
} else {
« no previous file with comments | « client/html/src/SVGElementWrappingImplementation.dart ('k') | client/html/src/Window.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698