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

Unified Diff: chrome/browser/profile_resetter/brandcode_config_fetcher.h

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/profile_resetter/brandcode_config_fetcher.h
diff --git a/chrome/browser/profile_resetter/brandcode_config_fetcher.h b/chrome/browser/profile_resetter/brandcode_config_fetcher.h
index 93805cacf9cac4d998e3ac4a5c33e62e77cc4d93..430870023efb422ba88db26bb42c058bd7c0ce22 100644
--- a/chrome/browser/profile_resetter/brandcode_config_fetcher.h
+++ b/chrome/browser/profile_resetter/brandcode_config_fetcher.h
@@ -26,7 +26,7 @@ class BrandcodeConfigFetcher : public net::URLFetcherDelegate {
const std::string& brandcode);
~BrandcodeConfigFetcher() override;
- bool IsActive() const { return config_fetcher_; }
+ bool IsActive() const { return !!config_fetcher_; }
scoped_ptr<BrandcodedDefaultSettings> GetSettings() {
return std::move(default_settings_);

Powered by Google App Engine
This is Rietveld 408576698