Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 933a07599a455f6a19774a84b198b41e3aefdd13..e5ec80a301cdf30adf54c89048eafb9f82ee1e2b 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -7754,7 +7754,7 @@ class SeqString: public String { |
| // Truncate the string in-place if possible and return the result. |
| // In case of new_length == 0, the empty string is returned without |
| // truncating the original string. |
|
Hannes Payer (out of office)
2013/03/21 12:48:30
I would revert this change and truncate all string
|
| - MUST_USE_RESULT String* Truncate(int new_length); |
| + void Truncate(int new_length); |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(SeqString); |