Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
index 61b1e579511fa09ef6befd8511842d429c4829ce..f8e337ad251a526c749d3f13531ba50b54621806 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -47,7 +47,6 @@ |
#include "components/rappor/public/rappor_utils.h" |
#include "components/rappor/rappor_service_impl.h" |
#include "components/strings/grit/components_strings.h" |
-#include "components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h" |
#include "components/url_formatter/elide_url.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/render_frame_host.h" |
@@ -1267,9 +1266,8 @@ void ContentSettingSubresourceFilterBubbleModel::OnManageCheckboxChecked( |
void ContentSettingSubresourceFilterBubbleModel::OnDoneClicked() { |
if (is_checked_) { |
- auto* driver_factory = subresource_filter:: |
- ContentSubresourceFilterDriverFactory::FromWebContents(web_contents()); |
- driver_factory->OnReloadRequested(); |
+ ChromeSubresourceFilterClient::FromWebContents(web_contents()) |
Bryan McQuade
2017/05/19 13:24:21
same
Charlie Harrison
2017/05/19 13:35:00
Actually I'm less sure about this one, it's hard f
Peter Kasting
2017/05/19 17:18:13
I think you meant to ask about the filter client?
Charlie Harrison
2017/05/19 17:25:50
The filter client is scoped to a WebContents, and
Peter Kasting
2017/05/19 17:31:52
That listener is really confusing. I'd look at wh
Charlie Harrison
2017/05/19 17:39:06
Thanks for the clear explanation, that aligns with
|
+ ->OnReloadRequested(); |
} |
} |