| 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 410b37382d6f5b76f56cd82d171adc47089cce45..b49581e29de78f1f889d11918d98432bf99e9cd1 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
|
| @@ -101,8 +101,8 @@ void ContentSubresourceFilterDriverFactory::OnFirstSubresourceLoadDisallowed() {
|
| if (ShouldSuppressNotifications())
|
| return;
|
|
|
| - client_->ToggleNotificationVisibility(activation_level_ ==
|
| - ActivationLevel::ENABLED);
|
| + client_->ToggleNotificationVisibility(
|
| + navigation_chain_.back(), activation_level_ == ActivationLevel::ENABLED);
|
| }
|
|
|
| void ContentSubresourceFilterDriverFactory::OnDocumentLoadStatistics(
|
| @@ -226,7 +226,7 @@ void ContentSubresourceFilterDriverFactory::DidStartNavigation(
|
| activation_decision_ = ActivationDecision::UNKNOWN;
|
| ResetActivationState();
|
| navigation_chain_.push_back(navigation_handle->GetURL());
|
| - client_->ToggleNotificationVisibility(false);
|
| + client_->ToggleNotificationVisibility(navigation_handle->GetURL(), false);
|
| }
|
| }
|
|
|
|
|