| Index: src/json-stringifier.h
|
| diff --git a/src/json-stringifier.h b/src/json-stringifier.h
|
| index fb990d460738b29182f6da80de3dc6fd3b4841dc..c06256d4d737faf9bc0958ed38ff71dd67e03a06 100644
|
| --- a/src/json-stringifier.h
|
| +++ b/src/json-stringifier.h
|
| @@ -222,7 +222,6 @@
|
| SerializeStringUnchecked_(object->GetFlatContent().ToOneByteVector(),
|
| &no_extend);
|
| no_extend.Append('\"');
|
| - return no_extend.Finalize();
|
| } else {
|
| result = isolate->factory()
|
| ->NewRawTwoByteString(worst_case_length)
|
| @@ -233,8 +232,8 @@
|
| SerializeStringUnchecked_(object->GetFlatContent().ToUC16Vector(),
|
| &no_extend);
|
| no_extend.Append('\"');
|
| - return no_extend.Finalize();
|
| - }
|
| + }
|
| + return result;
|
| }
|
|
|
|
|
|
|