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

Unified Diff: client/html/generated/html/dartium/_SharedWorkerFactoryProvider.dart

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/html/generated/html/dartium/_SharedWorkerFactoryProvider.dart
diff --git a/client/html/generated/html/dartium/_SharedWorkerFactoryProvider.dart b/client/html/generated/html/dartium/_SharedWorkerFactoryProvider.dart
index 4680e56b75f7093f860916d2dd99fce36d5037c5..53205139d30f3ec3ffce18618351f04f9c7b5105 100644
--- a/client/html/generated/html/dartium/_SharedWorkerFactoryProvider.dart
+++ b/client/html/generated/html/dartium/_SharedWorkerFactoryProvider.dart
@@ -4,5 +4,5 @@
class _SharedWorkerFactoryProvider {
factory SharedWorker(String scriptURL, [String name = null]) =>
- _wrap(new dom.SharedWorker(scriptURL, name));
+ _wrap(new dom.SharedWorker(_unwrap(scriptURL), _unwrap(name)));
}

Powered by Google App Engine
This is Rietveld 408576698