Chromium Code Reviews| Index: src/js/string.js |
| diff --git a/src/js/string.js b/src/js/string.js |
| index 3a9254c7130858b24ea3177a3eb5d818149fa513..c0587350cd6d4730183398c094c1db517c3c5e3e 100644 |
| --- a/src/js/string.js |
| +++ b/src/js/string.js |
| @@ -333,7 +333,7 @@ function StringToLocaleUpperCase() { |
| // ES6 draft, revision 26 (2014-07-18), section B.2.3.2.1 |
| function HtmlEscape(str) { |
| - return %_Call(StringReplace, TO_STRING(str), /"/g, """); |
| + return %RegExpInternalReplace(/"/g, TO_STRING(str), """); |
| } |