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

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

Issue 2541363002: Reload Reloaded: remove experimental flag that has been enabled by default (Closed)
Patch Set: Created 4 years 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/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index 861a88d804b53e59200925b9f8cd4d5aa9807851..a91810f21f3a0561fe5992247799f30f33c8dcc9 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -447,13 +447,9 @@ Response InspectorPageAgent::reload(
optionalScriptToEvaluateOnLoad.fromMaybe("");
m_v8Session->setSkipAllPauses(true);
m_reloading = true;
- FrameLoadType reloadType = FrameLoadTypeReload;
- if (optionalBypassCache.fromMaybe(false))
- reloadType = FrameLoadTypeReloadBypassingCache;
- else if (RuntimeEnabledFeatures::
- reloadwithoutSubResourceCacheRevalidationEnabled())
- reloadType = FrameLoadTypeReloadMainResource;
- m_inspectedFrames->root()->reload(reloadType,
+ m_inspectedFrames->root()->reload(optionalBypassCache.fromMaybe(false)
+ ? FrameLoadTypeReloadBypassingCache
+ : FrameLoadTypeReloadMainResource,
ClientRedirectPolicy::NotClientRedirect);
return Response::OK();
}
« no previous file with comments | « testing/variations/fieldtrial_testing_config.json ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698