| Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| index 4047ecca74a61c32b436f16d2102427259f48c6d..aaebbc3773334dcdc5abeab8616663a2e1e448c8 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -406,7 +406,12 @@ void InspectorPageAgent::reload(ErrorString*, const Maybe<bool>& optionalBypassC
|
| m_pendingScriptToEvaluateOnLoadOnce = optionalScriptToEvaluateOnLoad.fromMaybe("");
|
| m_v8Session->setSkipAllPauses(true);
|
| m_reloading = true;
|
| - m_inspectedFrames->root()->reload(optionalBypassCache.fromMaybe(false) ? FrameLoadTypeReloadBypassingCache : FrameLoadTypeReload, ClientRedirectPolicy::NotClientRedirect);
|
| + FrameLoadType reloadType = FrameLoadTypeReload;
|
| + if (optionalBypassCache.fromMaybe(false))
|
| + reloadType = FrameLoadTypeReloadBypassingCache;
|
| + else if (RuntimeEnabledFeatures::reloadwithoutSubResourceCacheRevalidationEnabled())
|
| + reloadType = FrameLoadTypeReloadMainResource;
|
| + m_inspectedFrames->root()->reload(reloadType, ClientRedirectPolicy::NotClientRedirect);
|
| }
|
|
|
| void InspectorPageAgent::navigate(ErrorString*, const String& url, String* outFrameId)
|
|
|