Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp

Issue 2653673006: Move loadType() to DocumentLoader (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
index 28678dc10956e9e50e29946131382ce98cbc85c2..c71a2e5bcc319a834ed8fe6968def912ebacca0c 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
@@ -42,9 +42,9 @@ void InspectorTracingAgent::restore() {
emitMetadataEvents();
}
-void InspectorTracingAgent::frameStartedLoading(LocalFrame* frame) {
- if (frame != m_inspectedFrames->root() ||
- frame->loader().loadType() != FrameLoadTypeReload)
+void InspectorTracingAgent::frameStartedLoading(LocalFrame* frame,
+ FrameLoadType type) {
+ if (frame != m_inspectedFrames->root() || type != FrameLoadTypeReload)
return;
m_client->showReloadingBlanket();
}

Powered by Google App Engine
This is Rietveld 408576698