| 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 cff5203f629e1634cff32f5159498c76a21ded6c..663aa6e2f4363dcc121253261d6b8f34c1605414 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
|
| @@ -73,12 +73,10 @@ void ContentSubresourceFilterDriverFactory::NotifyPageActivationComputed(
|
| activation_decision_ = activation_decision;
|
| activation_options_ = matched_options;
|
| DCHECK_NE(activation_decision_, ActivationDecision::UNKNOWN);
|
| - if (activation_decision_ != ActivationDecision::ACTIVATED) {
|
| - DCHECK_EQ(activation_options_.activation_level, ActivationLevel::DISABLED);
|
| - return;
|
| - }
|
|
|
| - DCHECK_NE(activation_options_.activation_level, ActivationLevel::DISABLED);
|
| + // ACTIVATION_DISABLED implies DISABLED activation level.
|
| + DCHECK(activation_decision_ != ActivationDecision::ACTIVATION_DISABLED ||
|
| + activation_options_.activation_level == ActivationLevel::DISABLED);
|
| ActivationState state = ActivationState(activation_options_.activation_level);
|
| state.measure_performance = ShouldMeasurePerformanceForPageLoad(
|
| activation_options_.performance_measurement_rate);
|
|
|