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

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

Issue 2769153002: InspectorTraceAgent does not handle reloading blanket correctly (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698