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

Unified Diff: chrome/browser/ui/webui/help/version_updater_mac.mm

Issue 131933003: [Mac] Make initial visibility of the promote button on the about page deterministic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/help/version_updater_mac.mm
diff --git a/chrome/browser/ui/webui/help/version_updater_mac.mm b/chrome/browser/ui/webui/help/version_updater_mac.mm
index 6b25716e88aa296f0ea5fb3fcaba4b4f3126ed44..130f6768a52c665668c9cad87f02e5c373734fc7 100644
--- a/chrome/browser/ui/webui/help/version_updater_mac.mm
+++ b/chrome/browser/ui/webui/help/version_updater_mac.mm
@@ -57,8 +57,9 @@ VersionUpdater* VersionUpdater::Create() {
return new VersionUpdaterMac;
}
-VersionUpdaterMac::VersionUpdaterMac() {
- keystone_observer_.reset([[KeystoneObserver alloc] initWithUpdater:this]);
+VersionUpdaterMac::VersionUpdaterMac()
+ : show_promote_button_(false),
+ keystone_observer_([[KeystoneObserver alloc] initWithUpdater:this]) {
}
VersionUpdaterMac::~VersionUpdaterMac() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698