| Index: chrome/browser/unload_browsertest.cc
|
| diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc
|
| index 2378f02d61b1e458bbd552c671ea3df45ab89373..5004688e8aaa67b6808f094160696df0c1477009 100644
|
| --- a/chrome/browser/unload_browsertest.cc
|
| +++ b/chrome/browser/unload_browsertest.cc
|
| @@ -178,10 +178,11 @@ class UnloadTest : public InProcessBrowserTest {
|
| // If |accept| is true, simulates user clicking OK, otherwise simulates
|
| // clicking Cancel.
|
| void ClickModalDialogButton(bool accept) {
|
| - AppModalDialog* dialog = ui_test_utils::WaitForAppModalDialog();
|
| + app_modal_dialogs::AppModalDialog* dialog =
|
| + ui_test_utils::WaitForAppModalDialog();
|
| ASSERT_TRUE(dialog->IsJavaScriptModalDialog());
|
| - JavaScriptAppModalDialog* js_dialog =
|
| - static_cast<JavaScriptAppModalDialog*>(dialog);
|
| + app_modal_dialogs::JavaScriptAppModalDialog* js_dialog =
|
| + static_cast<app_modal_dialogs::JavaScriptAppModalDialog*>(dialog);
|
| if (accept)
|
| js_dialog->native_dialog()->AcceptAppModalDialog();
|
| else
|
|
|