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

Unified Diff: client/html/src/CssClassSet.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/CSSStyleDeclarationWrappingImplementation.dart ('k') | client/html/src/Document.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/CssClassSet.dart
diff --git a/client/html/src/CssClassSet.dart b/client/html/src/CssClassSet.dart
index c9ba102b5bb1dbec371a540864c68a6303897b0b..6fc3451b7a828587cb0f0363502ef05cf9d0bb2d 100644
--- a/client/html/src/CssClassSet.dart
+++ b/client/html/src/CssClassSet.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.
@@ -105,7 +105,6 @@ class _CssClassSet implements Set<String> {
* className property of this element.
*/
void _modify( f(Set<String> s)) {
- assert(!_inMeasurementFrame || !_nodeInDocument(_element));
Set<String> s = _read();
f(s);
_write(s);
@@ -138,7 +137,6 @@ class _CssClassSet implements Set<String> {
* back to the element.
*/
void _write(Set s) {
- assert(!_inMeasurementFrame || !_nodeInDocument(_element));
_element.className = _formatSet(s);
}
« no previous file with comments | « client/html/src/CSSStyleDeclarationWrappingImplementation.dart ('k') | client/html/src/Document.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698