Chromium Code Reviews| Index: src/inspector/injected-script.cc |
| diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc |
| index 9d9c3270c2b26f779060861dd52ca74ab148c6a2..84142e0604c69b3c5ef75a5be0bc051235a23a6d 100644 |
| --- a/src/inspector/injected-script.cc |
| +++ b/src/inspector/injected-script.cc |
| @@ -407,8 +407,10 @@ Response InjectedScript::wrapEvaluateResult( |
| v8::Local<v8::Object> InjectedScript::commandLineAPI() { |
| if (m_commandLineAPI.IsEmpty()) |
|
dgozman
2017/03/30 21:08:24
style: {} around next statement
kozy
2017/03/30 21:52:41
Done.
|
| - m_commandLineAPI.Reset(m_context->isolate(), |
| - V8Console::createCommandLineAPI(m_context)); |
| + m_commandLineAPI.Reset( |
| + m_context->isolate(), |
| + m_context->inspector()->console()->createCommandLineAPI( |
| + m_context->context())); |
| return m_commandLineAPI.Get(m_context->isolate()); |
| } |