| Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| index f00ad8d7889952a2fc975c03cc2bda9a64516476..763f4fa9588f72f869aaad9db6bd28744b79e25c 100644
|
| --- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| @@ -229,12 +229,12 @@ void MainThreadDebugger::reportMessageToConsole(v8::Local<v8::Context> context,
|
| frame->console().addMessage(consoleMessage);
|
| }
|
|
|
| -v8::MaybeLocal<v8::Value> MainThreadDebugger::memoryInfo(v8::Isolate* isolate, v8::Local<v8::Context> context, v8::Local<v8::Object> creationContext)
|
| +v8::MaybeLocal<v8::Value> MainThreadDebugger::memoryInfo(v8::Isolate* isolate, v8::Local<v8::Context> context)
|
| {
|
| ExecutionContext* executionContext = toExecutionContext(context);
|
| ASSERT_UNUSED(executionContext, executionContext);
|
| ASSERT(executionContext->isDocument());
|
| - return toV8(MemoryInfo::create(), creationContext, isolate);
|
| + return toV8(MemoryInfo::create(), context->Global(), isolate);
|
| }
|
|
|
| bool MainThreadDebugger::isCommandLineAPIMethod(const String& name)
|
|
|