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

Unified Diff: client/dom/templates/html/dartium/html_dartium.darttemplate

Issue 9610011: Port DocumentFragment to the new wrapperless DOM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: client/dom/templates/html/dartium/html_dartium.darttemplate
diff --git a/client/dom/templates/html/dartium/html_dartium.darttemplate b/client/dom/templates/html/dartium/html_dartium.darttemplate
index f51fa563b19b84c78b4bd00ed5ceed51d783ecf0..32dfd0390d945edd577104008da6800747baabf0 100644
--- a/client/dom/templates/html/dartium/html_dartium.darttemplate
+++ b/client/dom/templates/html/dartium/html_dartium.darttemplate
@@ -77,6 +77,8 @@ _wrap(raw) {
throw 'A document should never be wrapped directly. TODO(jacobr) XXX';
case 'HTMLHtmlElement':
return new _DocumentImpl._wrap(domObject);
+ case 'HTMLElement':
+ return new _UnknownElementImpl._wrap(domObject);
$WRAPCASES
default:
throw 'Unrecognized object $domObject. Name=${domObject.typeName}';

Powered by Google App Engine
This is Rietveld 408576698