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

Unified Diff: src/i18n.js

Issue 1318043002: Native context: do not put public symbols and flags on the js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix and rebase Created 5 years, 4 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 | « src/heap/heap-inl.h ('k') | src/iterator-prototype.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/i18n.js
diff --git a/src/i18n.js b/src/i18n.js
index f0bcbc3c4f9959772c2dfd131804e4502ab503e5..c50f1f9e592364bc5dc91038c6239e725fcd78c6 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -28,6 +28,8 @@ var GlobalNumber = global.Number;
var GlobalRegExp = global.RegExp;
var GlobalString = global.String;
var MathFloor;
+var ObjectDefineProperties = utils.ImportNow("ObjectDefineProperties");
+var ObjectDefineProperty = utils.ImportNow("ObjectDefineProperty");
var RegExpTest;
var StringIndexOf;
var StringLastIndexOf;
@@ -55,11 +57,6 @@ utils.Import(function(from) {
ToNumber = from.ToNumber;
});
-utils.ImportNow(function(from) {
- ObjectDefineProperties = from.ObjectDefineProperties;
- ObjectDefineProperty = from.ObjectDefineProperty;
-});
-
// -------------------------------------------------------------------
var Intl = {};
« no previous file with comments | « src/heap/heap-inl.h ('k') | src/iterator-prototype.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698