Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: chrome/browser/extensions/api/declarative_content/content_condition.cc

Issue 16295003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/declarative_content/content_condition.cc
diff --git a/chrome/browser/extensions/api/declarative_content/content_condition.cc b/chrome/browser/extensions/api/declarative_content/content_condition.cc
index 9a0a40f43f6dcce627d4087371d90dfdefea9e5c..5730a5048b9d2420b78993bc7bb22baedda59c98 100644
--- a/chrome/browser/extensions/api/declarative_content/content_condition.cc
+++ b/chrome/browser/extensions/api/declarative_content/content_condition.cc
@@ -126,7 +126,7 @@ scoped_ptr<ContentCondition> ContentCondition::Create(
return scoped_ptr<ContentCondition>(NULL);
}
- if (!url_matcher_condition_set) {
+ if (!url_matcher_condition_set.get()) {
URLMatcherConditionSet::Conditions url_matcher_conditions;
url_matcher_conditions.insert(
url_matcher_condition_factory->CreateHostPrefixCondition(

Powered by Google App Engine
This is Rietveld 408576698