| Index: chrome/browser/instant/instant_browsertest.cc
|
| diff --git a/chrome/browser/instant/instant_browsertest.cc b/chrome/browser/instant/instant_browsertest.cc
|
| index e4e5c5d5c2d2d6eaa2989edd852dc597bbd3216c..6923a3e3395f5941a6406a84f83872bb2dd97372 100644
|
| --- a/chrome/browser/instant/instant_browsertest.cc
|
| +++ b/chrome/browser/instant/instant_browsertest.cc
|
| @@ -405,7 +405,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, OnResizeEvent) {
|
| FocusOmniboxAndWaitForInstantSupport();
|
|
|
| EXPECT_TRUE(UpdateSearchState(instant()->GetPreviewContents()));
|
| - EXPECT_EQ(1, onresizecalls_);
|
| + EXPECT_EQ(0, onresizecalls_);
|
| EXPECT_EQ(0, height_);
|
|
|
| // Type a query into the omnibox. This should cause an onresize() event, with
|
| @@ -413,7 +413,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, OnResizeEvent) {
|
| SetOmniboxTextAndWaitForInstantToShow("search");
|
|
|
| EXPECT_TRUE(UpdateSearchState(instant()->GetPreviewContents()));
|
| - EXPECT_EQ(2, onresizecalls_);
|
| + EXPECT_EQ(1, onresizecalls_);
|
| EXPECT_LT(0, height_);
|
| }
|
|
|
|
|