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

Unified Diff: lib/html/templates/html/impl/impl_Node.darttemplate

Issue 10993053: Roll IDL to multivm@910, Take #2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix for indexeddb Created 8 years, 3 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 | « lib/html/scripts/systemhtml.py ('k') | lib/html/templates/html/interface/interface_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/templates/html/impl/impl_Node.darttemplate
diff --git a/lib/html/templates/html/impl/impl_Node.darttemplate b/lib/html/templates/html/impl/impl_Node.darttemplate
index dcd5698d65cc589bfcf3418f6266ce5ea3b2bea7..b7f581e818184f53f1e2441cb180aa01f17a3670 100644
--- a/lib/html/templates/html/impl/impl_Node.darttemplate
+++ b/lib/html/templates/html/impl/impl_Node.darttemplate
@@ -124,12 +124,12 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
}
// TODO(jacobr): should we throw an exception if parent is already null?
- _NodeImpl remove() {
+ // TODO(vsm): Use the native remove when available.
+ void remove() {
if (this.parent != null) {
final _NodeImpl parent = this.parent;
parent.$dom_removeChild(this);
}
- return this;
}
_NodeImpl replaceWith(Node otherNode) {
« no previous file with comments | « lib/html/scripts/systemhtml.py ('k') | lib/html/templates/html/interface/interface_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698