| Index: third_party/WebKit/Source/core/html/HTMLSelectElementTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElementTest.cpp
|
| index 135cbe15185b81f6fc4b94e38e46f2ac4286df35..b14fd976c2e9b8b06b3b67df1b6b67e454ae58fe 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSelectElementTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSelectElementTest.cpp
|
| @@ -133,13 +133,13 @@ TEST_F(HTMLSelectElementTest, RestoreUnmatchedFormControlState)
|
| EXPECT_EQ(nullptr, toHTMLSelectElement(element)->optionToBeShown());
|
| }
|
|
|
| -TEST_F(HTMLSelectElementTest, ElementRectRelativeToViewport)
|
| +TEST_F(HTMLSelectElementTest, VisibleBoundsInVisualViewport)
|
| {
|
| document().documentElement()->setInnerHTML("<select style='position:fixed; top:12.3px; height:24px; -webkit-appearance:none;'><option>o1</select>", ASSERT_NO_EXCEPTION);
|
| document().view()->updateAllLifecyclePhases();
|
| HTMLSelectElement* select = toHTMLSelectElement(document().body()->firstChild());
|
| ASSERT(select);
|
| - IntRect bounds = select->elementRectRelativeToViewport();
|
| + IntRect bounds = select->visibleBoundsInVisualViewport();
|
| EXPECT_EQ(24, bounds.height());
|
| }
|
|
|
|
|