| Index: components/constrained_window/constrained_window_views.cc
|
| diff --git a/components/constrained_window/constrained_window_views.cc b/components/constrained_window/constrained_window_views.cc
|
| index def5232fc9782603559d380c6499264f1c8ac6b5..4616e4f1eec6eabd8ef3827cc6c3ea39e1790c5c 100644
|
| --- a/components/constrained_window/constrained_window_views.cc
|
| +++ b/components/constrained_window/constrained_window_views.cc
|
| @@ -141,8 +141,9 @@ views::Widget* ShowWebModalDialogViews(
|
| content::WebContents* web_contents =
|
| guest_view::GuestViewBase::GetTopLevelWebContents(initiator_web_contents);
|
| views::Widget* widget = CreateWebModalDialogViews(dialog, web_contents);
|
| - web_modal::WebContentsModalDialogManager::FromWebContents(web_contents)
|
| - ->ShowModalDialog(widget->GetNativeWindow());
|
| + web_modal::WebContentsModalDialogManager* manager =
|
| + web_modal::WebContentsModalDialogManager::FromWebContents(web_contents);
|
| + manager->ShowModalDialog(widget->GetNativeWindow());
|
| return widget;
|
| }
|
|
|
| @@ -192,4 +193,4 @@ views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog,
|
| return widget;
|
| }
|
|
|
| -} // namespace constrained window
|
| +} // namespace constrained_window
|
|
|