| Index: lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate
|
| diff --git a/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate
|
| index 339a38277aa310fe358b0612dfffddec82871589..157caae906f6180319191d7d8d1a82d0de80eb96 100644
|
| --- a/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate
|
| +++ b/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate
|
| @@ -3,8 +3,9 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class $FACTORYPROVIDER {
|
| - factory SharedWorker(String scriptURL, [String name]) native '''
|
| - if (name == null) return new SharedWorker(scriptURL);
|
| - return new SharedWorker(scriptURL, name);
|
| - ''';
|
| + static SharedWorker createSharedWorker(String scriptURL, [String name])
|
| + native '''
|
| + if (name == null) return new SharedWorker(scriptURL);
|
| + return new SharedWorker(scriptURL, name);
|
| + ''';
|
| }
|
|
|