Chromium Code Reviews| Index: src/string.js |
| diff --git a/src/string.js b/src/string.js |
| index 50531822be15f65ec9718c208de357252274c4cb..e0f20c2f69eb07745d9dd3f79e9d00e9f2dba6dc 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); |