summaryrefslogtreecommitdiff
path: root/src/string_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_decoder.cc')
-rw-r--r--src/string_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_decoder.cc b/src/string_decoder.cc
index dcc99a09f9..b75169ff00 100644
--- a/src/string_decoder.cc
+++ b/src/string_decoder.cc
@@ -226,7 +226,7 @@ MaybeLocal<String> StringDecoder::DecodeData(Isolate* isolate,
if (prepend.IsEmpty()) {
return body;
} else {
- return String::Concat(prepend, body);
+ return String::Concat(isolate, prepend, body);
}
} else {
CHECK(Encoding() == ASCII || Encoding() == HEX || Encoding() == LATIN1);