Index: src/inspector/inspected-context.cc |
diff --git a/src/inspector/inspected-context.cc b/src/inspector/inspected-context.cc |
index 8fd0aadca2726346d21376cb495918488300800d..0509683789d6762e9ff865d49f02eaf235238958 100644 |
--- a/src/inspector/inspected-context.cc |
+++ b/src/inspector/inspected-context.cc |
@@ -28,9 +28,10 @@ InspectedContext::InspectedContext(V8InspectorImpl* inspector, |
info.context->SetEmbedderData(static_cast<int>(v8::Context::kDebugIdIndex), |
v8::Int32::New(isolate, contextId)); |
v8::Local<v8::Object> global = info.context->Global(); |
- v8::Local<v8::Object> console = V8Console::createConsole(this); |
+ v8::Local<v8::Object> console = |
+ m_inspector->console()->createConsole(info.context); |
if (info.hasMemoryOnConsole) { |
- V8Console::installMemoryGetter(m_inspector, info.context, console); |
+ m_inspector->console()->installMemoryGetter(info.context, console); |
} |
if (!global |
->Set(info.context, toV8StringInternalized(isolate, "console"), |