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