| Index: src/inspector/injected-script.cc
|
| diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc
|
| index b4183a735a250f8d0493050df0401404626b51a1..9d9c3270c2b26f779060861dd52ca74ab148c6a2 100644
|
| --- a/src/inspector/injected-script.cc
|
| +++ b/src/inspector/injected-script.cc
|
| @@ -406,12 +406,9 @@
|
| }
|
|
|
| v8::Local<v8::Object> InjectedScript::commandLineAPI() {
|
| - if (m_commandLineAPI.IsEmpty()) {
|
| - m_commandLineAPI.Reset(
|
| - m_context->isolate(),
|
| - m_context->inspector()->console()->createCommandLineAPI(
|
| - m_context->context()));
|
| - }
|
| + if (m_commandLineAPI.IsEmpty())
|
| + m_commandLineAPI.Reset(m_context->isolate(),
|
| + V8Console::createCommandLineAPI(m_context));
|
| return m_commandLineAPI.Get(m_context->isolate());
|
| }
|
|
|
|
|