Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_decoder.cc')
-rw-r--r--src/string_decoder.cc4
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);