| Index: chrome/browser/ui/views/validation_message_bubble_view.cc
|
| diff --git a/chrome/browser/ui/views/validation_message_bubble_view.cc b/chrome/browser/ui/views/validation_message_bubble_view.cc
|
| index 2c57d120188a01cbe139514263c98687d8333cb7..788da2db1ff3ee47b95808bc6ada0e58864ec8c9 100644
|
| --- a/chrome/browser/ui/views/validation_message_bubble_view.cc
|
| +++ b/chrome/browser/ui/views/validation_message_bubble_view.cc
|
| @@ -75,7 +75,7 @@ ValidationMessageBubbleView::ValidationMessageBubbleView(
|
| content_bottom += kTextVerticalMargin + sub_label->height();
|
| }
|
|
|
| - size_ = gfx::Size(text_start_x + label_width, content_bottom);
|
| + set_preferred_size(gfx::Size(text_start_x + label_width, content_bottom));
|
|
|
| views::BubbleDialogDelegateView::CreateBubble(this)->ShowInactive();
|
| }
|
| @@ -92,10 +92,6 @@ gfx::Rect ValidationMessageBubbleView::RootViewToScreenRect(
|
| render_widget_host_view->GetViewBounds().origin().OffsetFromOrigin();
|
| }
|
|
|
| -gfx::Size ValidationMessageBubbleView::GetPreferredSize() const {
|
| - return size_;
|
| -}
|
| -
|
| int ValidationMessageBubbleView::GetDialogButtons() const {
|
| return ui::DIALOG_BUTTON_NONE;
|
| }
|
|
|