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

Unified Diff: lib/templating.dart

Issue 11416379: Fixes for the upcoming sdk changes (bleeding_edge 16052) (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 8 years 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 | « lib/src/emitters.dart ('k') | lib/web_ui.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/templating.dart
diff --git a/lib/templating.dart b/lib/templating.dart
index 1c04634cc11cc96e6e374f01a094d942003531d0..c42a190b8e1443d4e2c1aeb281394da30770798c 100644
--- a/lib/templating.dart
+++ b/lib/templating.dart
@@ -15,7 +15,7 @@ import 'package:web_ui/watcher.dart';
* convinience, this function returns [start].
*/
Node removeNodes(Node start, Node end) {
- var parent = end != null ? end.parent : null;
+ var parent = end != null ? end.parentNode : null;
if (parent == null) return start;
while (start != end) {
« no previous file with comments | « lib/src/emitters.dart ('k') | lib/web_ui.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698