Chromium Code Reviews| Index: src/string.js |
| diff --git a/src/string.js b/src/string.js |
| index 88a6dc1b24539a577a28f1f9fe1e505e956df4e9..f24862cd92268048683ef2a82345a6f783b26b5a 100644 |
| --- a/src/string.js |
| +++ b/src/string.js |
| @@ -909,6 +909,8 @@ function ReplaceResultBuilder(str) { |
| this.special_string = str; |
| } |
| +ReplaceResultBuilder.prototype.__proto__ = null; |
| + |
| ReplaceResultBuilder.prototype.add = function(str) { |
| str = TO_STRING_INLINE(str); |