Index: chrome/browser/extensions/api/declarative_content/content_rules_registry.cc |
diff --git a/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc b/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc |
index 7b379c1a67f2eeade2c708a517bd25de1713f5a7..3f481abb76bc77185d827cfee34f5dd1b929ad92 100644 |
--- a/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc |
+++ b/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc |
@@ -82,6 +82,9 @@ void ContentRulesRegistry::Apply( |
it != matching_rules.end(); ++it) { |
if (!ContainsKey(prev_matching_rules, *it)) |
(*it)->actions().Apply((*it)->extension_id(), base::Time(), &apply_info); |
+ else |
+ (*it)->actions().Reapply( |
+ (*it)->extension_id(), base::Time(), &apply_info); |
not at google - send to devlin
2014/08/21 00:32:56
Nit: this body is 2 lines, so it should be inside
Mark Dittmer
2014/08/21 01:08:48
Done.
|
} |
for (std::set<ContentRule*>::const_iterator it = prev_matching_rules.begin(); |
it != prev_matching_rules.end(); ++it) { |