| Index: components/subresource_filter/content/renderer/subresource_filter_agent.cc
|
| diff --git a/components/subresource_filter/content/renderer/subresource_filter_agent.cc b/components/subresource_filter/content/renderer/subresource_filter_agent.cc
|
| index 64b54b01044ffd0639f2251a2a4605fd5b14ecb8..05405c00b9a3b88998bed812659f29d7dc615c96 100644
|
| --- a/components/subresource_filter/content/renderer/subresource_filter_agent.cc
|
| +++ b/components/subresource_filter/content/renderer/subresource_filter_agent.cc
|
| @@ -143,6 +143,9 @@ void SubresourceFilterAgent::DidStartProvisionalLoad() {
|
| void SubresourceFilterAgent::DidCommitProvisionalLoad(
|
| bool is_new_navigation,
|
| bool is_same_page_navigation) {
|
| + if (is_same_page_navigation)
|
| + return;
|
| +
|
| RecordHistogramsOnLoadCommitted();
|
| if (activation_state_for_provisional_load_ != ActivationState::DISABLED &&
|
| ruleset_dealer_->IsRulesetAvailable()) {
|
| @@ -159,6 +162,7 @@ void SubresourceFilterAgent::DidCommitProvisionalLoad(
|
| filter_for_last_committed_load_ = filter->AsWeakPtr();
|
| SetSubresourceFilterForCommittedLoad(std::move(filter));
|
| }
|
| +
|
| activation_state_for_provisional_load_ = ActivationState::DISABLED;
|
| }
|
|
|
|
|