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

Unified Diff: src/messages.js

Issue 221903002: Use the correct natives in messages.js (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index a389bb8fe5aff66b277b0fa8a792ddd66c49a754..fc043f20dfd84475409739023d62acb6a6eb7c5c 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -198,8 +198,8 @@ function FormatString(format, args) {
try {
str = NoSideEffectToString(args[arg_num]);
if (str.length > 256) {
- str = %SubString(str, 0, 239) + "...<omitted>..." +
- %SubString(str, str.length - 2, str.length);
+ str = %_SubString(str, 0, 239) + "...<omitted>..." +
+ %_SubString(str, str.length - 2, str.length);
}
} catch (e) {
if (%IsJSModule(args[arg_num]))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698