Index: chrome/browser/views/about_chrome_view.cc |
=================================================================== |
--- chrome/browser/views/about_chrome_view.cc (revision 12286) |
+++ chrome/browser/views/about_chrome_view.cc (working copy) |
@@ -587,7 +587,8 @@ |
service_pack_major >= 1) || |
win_util::GetWinVersion() > win_util::WINVERSION_VISTA) { |
UpdateStatus(UPGRADE_CHECK_STARTED, GOOGLE_UPDATE_NO_ERROR); |
- google_updater_->CheckForUpdate(false); // false=don't upgrade yet. |
+ // CheckForUpdate(false, ...) means don't upgrade yet. |
+ google_updater_->CheckForUpdate(false, window()); |
} |
} else { |
parent->RemoveChildView(&update_label_); |
@@ -668,7 +669,8 @@ |
DCHECK(!google_updater_); |
google_updater_ = new GoogleUpdate(); |
google_updater_->AddStatusChangeListener(this); |
- google_updater_->CheckForUpdate(true); // true=upgrade if new version found. |
+ // CheckForUpdate(true,...) means perform the upgrade if new version found. |
+ google_updater_->CheckForUpdate(true, window()); |
return false; // We never allow this button to close the window. |
} |