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

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

Issue 18162004: [package:mdv] port createInstance change (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:
View side-by-side diff with in-line comments
Download patch
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index 8e4757c36b6aa766d6aaee104fee6cc05387815a..c9b78df0486105771647581cb0f8c7cdcf29484a 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -721,9 +721,9 @@ $endif
* This is only supported if [isTemplate] is true.
*/
@Experimental
- DocumentFragment createInstance() {
+ DocumentFragment createInstance(model, String syntax) {
_ensureTemplate();
- return TemplateElement.mdvPackage(this).createInstance();
+ return TemplateElement.mdvPackage(this).createInstance(model, syntax);
}
/**

Powered by Google App Engine
This is Rietveld 408576698