| Index: chrome/browser/ui/gtk/update_recommended_dialog.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/update_recommended_dialog.cc (revision 137868)
|
| +++ chrome/browser/ui/gtk/update_recommended_dialog.cc (working copy)
|
| @@ -7,7 +7,7 @@
|
| #include <gtk/gtk.h>
|
|
|
| #include "chrome/browser/browser_process.h"
|
| -#include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/lifetime/application_lifetime.h"
|
| #include "chrome/browser/ui/gtk/gtk_util.h"
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
| @@ -54,9 +54,8 @@
|
| void UpdateRecommendedDialog::OnResponse(GtkWidget* dialog, int response_id) {
|
| gtk_widget_destroy(dialog_);
|
|
|
| - if (response_id == GTK_RESPONSE_ACCEPT) {
|
| - BrowserList::AttemptRestart();
|
| - }
|
| + if (response_id == GTK_RESPONSE_ACCEPT)
|
| + browser::AttemptRestart();
|
|
|
| delete this;
|
| }
|
|
|