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 eafc3d59655ecab8963c7645618d608443d95653..7313725c6ead20ecb5ff999766f1689168698eb2 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp |
@@ -11,6 +11,7 @@ |
#include "core/inspector/InspectedFrames.h" |
#include "core/inspector/InspectorTraceEvents.h" |
#include "core/inspector/InspectorWorkerAgent.h" |
+#include "core/loader/FrameLoader.h" |
#include "platform/instrumentation/tracing/TraceEvent.h" |
namespace blink { |
@@ -47,7 +48,7 @@ void InspectorTracingAgent::restore() { |
void InspectorTracingAgent::frameStartedLoading(LocalFrame* frame, |
FrameLoadType type) { |
- if (frame != m_inspectedFrames->root() || type != FrameLoadTypeReload) |
+ if (frame != m_inspectedFrames->root() || !isReloadLoadType(type)) |
return; |
m_client->showReloadingBlanket(); |
} |