Index: components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.cc |
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.cc b/components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.cc |
index 32b679cf7c333a3fdf17b7100dbe00feb3ea5ba8..ec2edc980e4a85b574351f7a704d7968f9f709c7 100644 |
--- a/components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.cc |
+++ b/components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.cc |
@@ -4,6 +4,8 @@ |
#include "components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/logging.h" |
#include "base/memory/ptr_util.h" |
@@ -105,6 +107,8 @@ void ContentSubresourceFilterThrottleManager::ReadyToCommitNavigation( |
return; |
} |
+ if (navigation_handle->IsInMainFrame()) |
+ delegate_->OnPageActivated(filter->activation_state()); |
throttle->second->WillSendActivationToRenderer(); |
content::RenderFrameHost* frame_host = |