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

Unified Diff: components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: one more mac build fix 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: components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
index e7b47a523771fc1aa624353330e4402bf89600ce..49d375eaa554c802e9584a459bb3a2a4b77213be 100644
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
@@ -137,7 +137,7 @@ void ContentSubresourceFilterDriverFactory::OnReloadRequested() {
UMA_HISTOGRAM_BOOLEAN("SubresourceFilter.Prompt.NumReloads", true);
const GURL whitelist_url(web_contents()->GetLastCommittedURL());
AddHostOfURLToWhitelistSet(whitelist_url);
- web_contents()->GetController().Reload(true);
+ web_contents()->GetController().Reload(content::ReloadType::NORMAL, true);
}
void ContentSubresourceFilterDriverFactory::SetDriverForFrameHostForTesting(

Powered by Google App Engine
This is Rietveld 408576698