| Index: chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc
|
| diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc
|
| index 896a577c779e5c3c5b97133f795b826a796b8a76..595ffedb98da5f7348d0fced9647e72c1085c096 100644
|
| --- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc
|
| +++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rule.cc
|
| @@ -72,6 +72,7 @@ bool WebRequestRule::CheckConsistency(
|
| // static
|
| scoped_ptr<WebRequestRule> WebRequestRule::Create(
|
| URLMatcherConditionFactory* url_matcher_condition_factory,
|
| + URLMatcherConditionFactory* first_party_url_matcher_condition_factory,
|
| const std::string& extension_id,
|
| base::Time extension_installation_time,
|
| linked_ptr<RulesRegistry::Rule> rule,
|
| @@ -79,8 +80,9 @@ scoped_ptr<WebRequestRule> WebRequestRule::Create(
|
| scoped_ptr<WebRequestRule> error_result;
|
|
|
| scoped_ptr<WebRequestConditionSet> conditions =
|
| - WebRequestConditionSet::Create(
|
| - url_matcher_condition_factory, rule->conditions, error);
|
| + WebRequestConditionSet::Create(url_matcher_condition_factory,
|
| + first_party_url_matcher_condition_factory,
|
| + rule->conditions, error);
|
| if (!error->empty())
|
| return error_result.Pass();
|
| CHECK(conditions.get());
|
|
|