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 184bb0815f237029738390cd8b984a6707de86d0..53fb54ed0f1ac0ce7cd3260c40f45008e0826071 100644 |
--- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
@@ -326,8 +326,8 @@ void MainThreadDebugger::consoleClear(int contextGroupId) { |
LocalFrame* frame = WeakIdentifierMap<LocalFrame>::lookup(contextGroupId); |
if (!frame) |
return; |
- if (frame->host()) |
- frame->host()->consoleMessageStorage().clear(); |
+ if (frame->page()) |
+ frame->page()->consoleMessageStorage().clear(); |
} |
v8::MaybeLocal<v8::Value> MainThreadDebugger::memoryInfo( |