diff options
Diffstat (limited to 'src/string_decoder.cc')
-rw-r--r-- | src/string_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_decoder.cc b/src/string_decoder.cc index 90ceb2c222e..210983de2ae 100644 --- a/src/string_decoder.cc +++ b/src/string_decoder.cc @@ -309,11 +309,11 @@ void InitializeStringDecoder(Local<Object> target, target->Set(context, FIXED_ONE_BYTE_STRING(isolate, "encodings"), - encodings).FromJust(); + encodings).Check(); target->Set(context, FIXED_ONE_BYTE_STRING(isolate, "kSize"), - Integer::New(isolate, sizeof(StringDecoder))).FromJust(); + Integer::New(isolate, sizeof(StringDecoder))).Check(); env->SetMethod(target, "decode", DecodeData); env->SetMethod(target, "flush", FlushData); |