| 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;
|
|
|