| Index: ui/views/controls/message_box_view.cc
|
| diff --git a/ui/views/controls/message_box_view.cc b/ui/views/controls/message_box_view.cc
|
| index 34c8705ddd5a2bed304778611ea1df435571e10b..0e5708fcceddc95ade83637bfd961060647c3e37 100644
|
| --- a/ui/views/controls/message_box_view.cc
|
| +++ b/ui/views/controls/message_box_view.cc
|
| @@ -66,14 +66,8 @@ MessageBoxView::InitParams::InitParams(const string16& message)
|
| : options(NO_OPTIONS),
|
| message(message),
|
| message_width(kDefaultMessageWidth),
|
| - top_inset(kPanelVertMargin),
|
| - bottom_inset(kPanelVertMargin),
|
| - left_inset(kPanelHorizMargin),
|
| - right_inset(kPanelHorizMargin),
|
| inter_row_vertical_spacing(kRelatedControlVerticalSpacing),
|
| - clipboard_source_tag()
|
| -{
|
| -}
|
| + clipboard_source_tag() {}
|
|
|
| MessageBoxView::InitParams::~InitParams() {
|
| }
|
| @@ -195,10 +189,6 @@ void MessageBoxView::Init(const InitParams& params) {
|
| prompt_field_->SetText(params.default_prompt);
|
| }
|
|
|
| - top_inset_ = params.top_inset;
|
| - bottom_inset_ = params.bottom_inset;
|
| - left_inset_ = params.left_inset;
|
| - right_inset_ = params.right_inset;
|
| inter_row_vertical_spacing_ = params.inter_row_vertical_spacing;
|
| source_tag_ = params.clipboard_source_tag;
|
|
|
| @@ -208,7 +198,6 @@ void MessageBoxView::Init(const InitParams& params) {
|
| void MessageBoxView::ResetLayoutManager() {
|
| // Initialize the Grid Layout Manager used for this dialog box.
|
| GridLayout* layout = GridLayout::CreatePanel(this);
|
| - layout->SetInsets(top_inset_, bottom_inset_, left_inset_, right_inset_);
|
| SetLayoutManager(layout);
|
|
|
| gfx::Size icon_size;
|
|
|