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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 16050007: Fixing broken tests because of mismatch of suppressed warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/compiler/dart2js/analyze_api_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index ebf1be96c6f16909e1e6afd4397d670203a40e9e..7bc3810a6dd983d6df94f2afa19ee04079980ed2 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -29818,11 +29818,12 @@ class _Bindings {
static void _removeChild(Node parent, Node child) {
child._templateInstance = null;
if (child is Element && (child as Element).isTemplate) {
+ Element childElement = child;
// Make sure we stop observing when we remove an element.
- var templateIterator = child._templateIterator;
+ var templateIterator = childElement._templateIterator;
if (templateIterator != null) {
templateIterator.abandon();
- child._templateIterator = null;
+ childElement._templateIterator = null;
}
}
child.remove();
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/compiler/dart2js/analyze_api_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698