Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 817b39bb326fd967cc05cf89b21e8629da54d343..e5488e6508131fd7759faf5db467f727a00fe8f1 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5001,8 +5001,7 @@ Local<v8::Object> v8::Object::Clone() { |
Local<v8::Context> v8::Object::CreationContext() { |
auto self = Utils::OpenHandle(this); |
- auto context = handle(self->GetCreationContext()); |
- return Utils::ToLocal(context); |
+ return Utils::ToLocal(self->GetCreationContext()); |
} |