Index: chrome/browser/extensions/api/declarative_content/content_condition.h |
diff --git a/chrome/browser/extensions/api/declarative_content/content_condition.h b/chrome/browser/extensions/api/declarative_content/content_condition.h |
index 162631d8dc6d3a12fcfe4c7397a9911543855131..0adea940ee658098feb55d72bc2cdcea48613f84 100644 |
--- a/chrome/browser/extensions/api/declarative_content/content_condition.h |
+++ b/chrome/browser/extensions/api/declarative_content/content_condition.h |
@@ -81,14 +81,14 @@ class ContentCondition { |
// If this Condition has a url filter, appends it to |condition_sets|. |
void GetURLMatcherConditionSets( |
URLMatcherConditionSet::Vector* condition_sets) const { |
- if (url_matcher_conditions_) |
+ if (url_matcher_conditions_.get()) |
condition_sets->push_back(url_matcher_conditions_); |
} |
// True if GetURLMatcherConditionSets would append anything to its |
// argument. |
bool has_url_matcher_condition_set() const { |
- return url_matcher_conditions_ != NULL; |
+ return url_matcher_conditions_.get() != NULL; |
} |
// Returns the CSS selectors required to match by this condition. |