Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 4f16120df33ddbb4d096c4a3a33820b911986833..200dc5f8b6272918c32b0924ac60e9ba60468fc7 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7384,7 +7384,7 @@ void Debug::ProcessDebugMessages() { |
Local<Context> Debug::GetDebugContext() { |
i::Isolate* isolate = i::Isolate::Current(); |
ENTER_V8(isolate); |
- return Utils::ToLocal(i::Isolate::Current()->debug()->GetDebugContext()); |
+ return Utils::ToLocal(isolate->debug()->GetDebugContext()); |
} |