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

Unified Diff: tools/dom/templates/html/impl/impl_Node.darttemplate

Issue 27602002: Renaming Node.document back to Node.ownerDocument (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: tools/dom/templates/html/impl/impl_Node.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate
index 6d4eca630a4b72ddaff48d3102e577173e91fec1..7fa868c346e204ad954970f95ef5c0edbb3be184 100644
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
@@ -325,5 +325,12 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
TemplateInstance get templateInstance =>
TemplateElement.mdvPackage(this).templateInstance;
+
+ /**
+ * Use ownerDocument instead.
+ */
+ @deprecated
+ Document get document => ownerDocument;
+
$!MEMBERS
}

Powered by Google App Engine
This is Rietveld 408576698