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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.cc

Issue 10800052: More -Wunused-private-field cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/ui/startup/startup_browser_creator_impl.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
index 76a5b24893d3f1b896cce2eac93cfda77548ba28..ca0e97f30fbaaa825636fa2f1402f35c8b84857b 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
@@ -891,8 +891,8 @@ void StartupBrowserCreatorImpl::CheckPreferencesBackup(Profile* profile) {
LOG(WARNING) << "Homepage has changed";
PrefService* prefs = profile->GetPrefs();
std::string backup_homepage;
- bool backup_homepage_is_ntp;
- bool backup_show_home_button;
+ bool backup_homepage_is_ntp = false;
+ bool backup_show_home_button = false;
if (!prefs_watcher->GetBackupForPref(prefs::kHomePage)->
GetAsString(&backup_homepage) ||
!prefs_watcher->GetBackupForPref(prefs::kHomePageIsNewTabPage)->
« no previous file with comments | « chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc ('k') | chrome/common/mac/mock_launchd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698