Index: src/json-parser.h |
diff --git a/src/json-parser.h b/src/json-parser.h |
index 5944428104a3c9028d87f4561d08b8cce42c4ae5..efd3c04b98f7e323a79076e5672df745c9611810 100644 |
--- a/src/json-parser.h |
+++ b/src/json-parser.h |
@@ -128,7 +128,9 @@ class JsonParser BASE_EMBEDDED { |
} |
Handle<String> ParseJsonInternalizedString() { |
- return ScanJsonString<true>(); |
+ Handle<String> result = ScanJsonString<true>(); |
+ if (result.is_null()) return result; |
+ return factory()->InternalizeString(result); |
} |
template <bool is_internalized> |