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

Unified Diff: lib/runtime/dart/_js_names.js

Issue 1156993015: fixes #193, factory constructors as static methods (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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: lib/runtime/dart/_js_names.js
diff --git a/lib/runtime/dart/_js_names.js b/lib/runtime/dart/_js_names.js
index 93d694b1871a8227aa4a0fec13de484efeea5338..d4c8722ab31ea2568e00c58b549b1b33bca4cd74 100644
--- a/lib/runtime/dart/_js_names.js
+++ b/lib/runtime/dart/_js_names.js
@@ -60,7 +60,7 @@ var _js_helper = dart.lazyImport(_js_helper);
}
return result;
}(victim, Object.prototype.hasOwnProperty);
- return new _interceptors.JSArray.markFixed(result);
+ return _interceptors.JSArray.markFixed(result);
}
dart.fn(extractKeys, core.List, [core.Object]);
function unmangleGlobalNameIfPreservedAnyways(name) {

Powered by Google App Engine
This is Rietveld 408576698