| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index cccc3e76297b20a2ade4272efcd978e7d0c2f06b..da85b12fc85dab8f876d1f055bd2d34eef4cf799 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -310,8 +310,7 @@ Handle<String> ConcatStringContent(Handle<StringType> result,
|
| Handle<String> Factory::NewFlatConcatString(Handle<String> first,
|
| Handle<String> second) {
|
| int total_length = first->length() + second->length();
|
| - if (first->IsOneByteRepresentationUnderneath() &&
|
| - second->IsOneByteRepresentationUnderneath()) {
|
| + if (first->IsOneByteRepresentation() && second->IsOneByteRepresentation()) {
|
| return ConcatStringContent<uint8_t>(
|
| NewRawOneByteString(total_length), first, second);
|
| } else {
|
|
|