Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index d7caefc9e939fe57347f088cd5b0adb9c3a2ab30..fabc8f39299196e0d08b7f5f575b3c98a18db046 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -272,10 +272,9 @@ BasicJsonStringifier::Result BasicJsonStringifier::StackPush( |
for (int i = 0; i < length; i++) { |
if (elements->get(i) == *object) { |
AllowHeapAllocation allow_to_return_error; |
- Handle<Object> error; |
- MaybeHandle<Object> maybe_error = factory()->NewTypeError( |
+ Handle<Object> error = factory()->NewTypeError( |
"circular_structure", HandleVector<Object>(NULL, 0)); |
- if (maybe_error.ToHandle(&error)) isolate_->Throw(*error); |
+ isolate_->Throw(*error); |
return EXCEPTION; |
} |
} |