| Index: third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| index 330d2954b0279f7e8b74ebff46c3cb647ef5f2cb..c62946e1c6896bb4809b8be9f4e1b79de0b9b381 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| @@ -116,7 +116,7 @@ TEST_F(LayoutObjectTest, MapToVisibleRectInContainerSpace)
|
| LayoutBlock* container = toLayoutBlock(document().getElementById("container")->layoutObject());
|
| LayoutText* text = toLayoutText(container->lastChild());
|
|
|
| - container->setScrollTop(50);
|
| + container->setScrollTop(LayoutUnit(50));
|
| LayoutRect rect(0, 60, 20, 20);
|
| text->mapToVisibleRectInAncestorSpace(container, rect, nullptr);
|
| EXPECT_TRUE(rect == LayoutRect(0, 10, 20, 20));
|
|
|