| Index: ui/views/window/dialog_client_view_unittest.cc
|
| diff --git a/ui/views/window/dialog_client_view_unittest.cc b/ui/views/window/dialog_client_view_unittest.cc
|
| index e1f28b4dc35bf06d7129836c5d004f2e59000ffb..f5d8add5318173e3d3754bee942390d818384c3d 100644
|
| --- a/ui/views/window/dialog_client_view_unittest.cc
|
| +++ b/ui/views/window/dialog_client_view_unittest.cc
|
| @@ -54,7 +54,7 @@ class DialogClientViewTest : public ViewsTestBase,
|
| void SetUp() override {
|
| dialog_buttons_ = ui::DIALOG_BUTTON_NONE;
|
| client_view_.reset(new TestDialogClientView(this));
|
| - // Add this i.e. the contents view as a child of |client_view_|. This is
|
| + // Add this (i.e. the contents view) as a child of |client_view_|. This is
|
| // generally done when the client view is added to the view hierarchy.
|
| client_view_->AddChildViewAt(this, 0);
|
| ViewsTestBase::SetUp();
|
| @@ -224,6 +224,7 @@ TEST_F(DialogClientViewTest, ContentsSize) {
|
| TEST_F(DialogClientViewTest, LayoutWithButtons) {
|
| SetDialogButtons(ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL);
|
| CheckContentsIsSetToPreferredSize();
|
| +
|
| EXPECT_LT(GetContentsView()->bounds().bottom(),
|
| client_view()->bounds().bottom());
|
| gfx::Size no_extra_view_size = client_view()->bounds().size();
|
|
|