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

Unified Diff: lib/dom/templates/html/frog/factoryprovider_ShadowRoot.darttemplate

Issue 10631016: Fix ShadowRoot constructor for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | lib/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/templates/html/frog/factoryprovider_ShadowRoot.darttemplate
diff --git a/lib/dom/templates/dom/dummy/factoryprovider.darttemplate b/lib/dom/templates/html/frog/factoryprovider_ShadowRoot.darttemplate
similarity index 71%
copy from lib/dom/templates/dom/dummy/factoryprovider.darttemplate
copy to lib/dom/templates/html/frog/factoryprovider_ShadowRoot.darttemplate
index 68fc08702ba52cba199fe40319ffa1fdf1549381..f4c6f79a2a2958bb67dd5814f2f28330a84119e4 100644
--- a/lib/dom/templates/dom/dummy/factoryprovider.darttemplate
+++ b/lib/dom/templates/html/frog/factoryprovider_ShadowRoot.darttemplate
@@ -3,5 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
class $FACTORYPROVIDER {
- factory $CONSTRUCTOR($PARAMETERS) => _dummy();
+ factory ShadowRoot(Element host) native '''
+ return new WebKitShadowRoot(host);
+ ''';
}
« no previous file with comments | « no previous file | lib/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698