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

Unified Diff: src/date.js

Issue 7799027: Lock the prototype of internal classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
Index: src/date.js
diff --git a/src/date.js b/src/date.js
index 79b846d4a7060efc938990330cf8396b07224073..8a43755ade614900a783fa81730442852db4b97c 100644
--- a/src/date.js
+++ b/src/date.js
@@ -1049,6 +1049,7 @@ function ResetDateCache() {
// -------------------------------------------------------------------
function SetupDate() {
Erik Corry 2011/08/31 05:46:04 SetupDate -> SetUpDate
Lasse Reichstein 2011/09/01 13:30:42 I can do better - and make this a direct call of a
+ %AssertIsBootstrapping();
// Setup non-enumerable properties of the Date object itself.
InstallFunctions($Date, DONT_ENUM, $Array(
"UTC", DateUTC,

Powered by Google App Engine
This is Rietveld 408576698