| Index: third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp b/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| index b00a55d4fac1953c2e49d96da996f673fdb0956c..49cbf653d4d9c53995e31d7c01bea91739275652 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InspectedContext.cpp
|
| @@ -44,9 +44,7 @@ InspectedContext::InspectedContext(V8DebuggerImpl* debugger, const V8ContextInfo
|
|
|
| v8::Isolate* isolate = m_debugger->isolate();
|
| v8::Local<v8::Object> global = info.context->Global();
|
| - v8::Local<v8::Object> console;
|
| - if (!V8Console::createConsole(this, info.hasMemoryOnConsole).ToLocal(&console))
|
| - return;
|
| + v8::Local<v8::Object> console = V8Console::createConsole(this, info.hasMemoryOnConsole);
|
| if (!global->Set(info.context, toV8StringInternalized(isolate, "console"), console).FromMaybe(false))
|
| return;
|
| m_console.Reset(isolate, console);
|
|
|