| Index: src/string-builder.h
|
| diff --git a/src/string-builder.h b/src/string-builder.h
|
| index edc6476a45a3518ff32e2a6c69c9428111667bcf..c8c1329157e7f6eb90df4d0f2525ea6b14c6ad49 100644
|
| --- a/src/string-builder.h
|
| +++ b/src/string-builder.h
|
| @@ -310,6 +310,8 @@ class IncrementalStringBuilder {
|
|
|
| INLINE(bool HasOverflowed()) const { return overflowed_; }
|
|
|
| + INLINE(int Length()) const { return accumulator_->length() + current_index_; }
|
| +
|
| // Change encoding to two-byte.
|
| void ChangeEncoding() {
|
| DCHECK_EQ(String::ONE_BYTE_ENCODING, encoding_);
|
|
|