| Index: components/constrained_window/constrained_window_views.h
|
| diff --git a/components/constrained_window/constrained_window_views.h b/components/constrained_window/constrained_window_views.h
|
| index 9a8b3e95f5f3f02c14387e605dff21c40a097ce4..972fca88ecfed68f9a1f3379216b8715b9db8442 100644
|
| --- a/components/constrained_window/constrained_window_views.h
|
| +++ b/components/constrained_window/constrained_window_views.h
|
| @@ -73,8 +73,10 @@ views::Widget* CreateWebModalDialogViews(views::WidgetDelegate* dialog,
|
|
|
| // Create a widget for |dialog| that has a modality given by
|
| // |dialog->GetModalType()|. The modal type must be either
|
| -// ui::MODAL_TYPE_SYSTEM or ui::MODAL_TYPE_WINDOW. This places the
|
| -// dialog appropriately if |parent| is a valid browser window.
|
| +// ui::MODAL_TYPE_SYSTEM or ui::MODAL_TYPE_WINDOW. This places the dialog
|
| +// appropriately if |parent| is a valid browser window. Currently, |parent| may
|
| +// be null for MODAL_TYPE_WINDOW, but that's a bug and callers shouldn't rely on
|
| +// that working. See http://crbug.com/657293.
|
| views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog,
|
| gfx::NativeWindow parent);
|
|
|
|
|