Index: chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.cc |
diff --git a/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.cc b/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.cc |
index a80fc25909fe5186c82afb2b75ad582e812ca51b..4b99dc0b6097b89412010207ee8840c608c1fd84 100644 |
--- a/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.cc |
+++ b/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.cc |
@@ -164,7 +164,7 @@ ChromeContentRulesRegistry::CreateRule( |
const api::events::Rule& api_rule, |
std::string* error) { |
std::vector<scoped_ptr<const ContentCondition>> conditions; |
- for (const linked_ptr<base::Value>& value : api_rule.conditions) { |
+ for (const scoped_ptr<base::Value>& value : api_rule.conditions) { |
conditions.push_back( |
CreateContentCondition(extension, predicate_factories, *value, error)); |
if (!error->empty()) |
@@ -172,7 +172,7 @@ ChromeContentRulesRegistry::CreateRule( |
} |
std::vector<scoped_ptr<const ContentAction>> actions; |
- for (const linked_ptr<base::Value>& value : api_rule.actions) { |
+ for (const scoped_ptr<base::Value>& value : api_rule.actions) { |
actions.push_back(ContentAction::Create(browser_context(), extension, |
*value, error)); |
if (!error->empty()) |