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

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

Issue 9617041: Unwrap parameters in factory constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add files Created 8 years, 9 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/factoryprovider_OptionElement.darttemplate
diff --git a/client/html/generated/html/dartium/_WorkerFactoryProvider.dart b/client/dom/templates/html/dartium/factoryprovider_OptionElement.darttemplate
similarity index 65%
copy from client/html/generated/html/dartium/_WorkerFactoryProvider.dart
copy to client/dom/templates/html/dartium/factoryprovider_OptionElement.darttemplate
index 0fa7a21d3d5fc0520370dffda90a2ef782027a90..ad4dd849a831cc40ef006bda886c83a24583ee45 100644
--- a/client/html/generated/html/dartium/_WorkerFactoryProvider.dart
+++ b/client/dom/templates/html/dartium/factoryprovider_OptionElement.darttemplate
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-class _WorkerFactoryProvider {
- factory Worker(String scriptUrl) =>
- _wrap(new dom.Worker(scriptUrl));
+class $FACTORYPROVIDER {
+ factory $CONSTRUCTOR($PARAMETERS) =>
+ _wrap(new dom.HTML$CONSTRUCTOR($ARGUMENTS));
}
« no previous file with comments | « client/dom/templates/html/dartium/factoryprovider_BlobBuilder.darttemplate ('k') | client/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698