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

Unified Diff: chrome/browser/ui/views/about_chrome_view.cc

Issue 10698106: Switch about box to web ui on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With GoogleUpdate on Windows only. 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/views/about_chrome_view.cc
diff --git a/chrome/browser/ui/views/about_chrome_view.cc b/chrome/browser/ui/views/about_chrome_view.cc
index 3f3c9ed115f734fce037b10229d021a366cd1953..9e6f18aa151c88e3b58422636798186dd7aa5667 100644
--- a/chrome/browser/ui/views/about_chrome_view.cc
+++ b/chrome/browser/ui/views/about_chrome_view.cc
@@ -529,7 +529,7 @@ void AboutChromeView::ViewHierarchyChanged(bool is_add,
!base::win::UserAccountControlIsEnabled())) {
UpdateStatus(UPGRADE_CHECK_STARTED, GOOGLE_UPDATE_NO_ERROR, string16());
// CheckForUpdate(false, ...) means don't upgrade yet.
- google_updater_->CheckForUpdate(false, GetWidget());
+ google_updater_->CheckForUpdate(false, GetWidget()->GetNativeWindow());
}
#endif
} else {
@@ -682,7 +682,7 @@ void AboutChromeView::UpdateStatus(GoogleUpdateUpgradeResult result,
google_updater_->set_status_listener(this);
UpdateStatus(UPGRADE_STARTED, GOOGLE_UPDATE_NO_ERROR, string16());
// CheckForUpdate(true,...) means perform upgrade if new version found.
- google_updater_->CheckForUpdate(true, GetWidget());
+ google_updater_->CheckForUpdate(true, GetWidget()->GetNativeWindow());
// TODO(seanparent): Need to see if this code needs to change to
// force a machine restart.
return;

Powered by Google App Engine
This is Rietveld 408576698