| Index: third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| index bdeec75596726d3eefd0239b1e5ad96cbc593b16..c1760c940a85a7591147cb774325a75f4d9f0372 100644
|
| --- a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| @@ -141,8 +141,8 @@ TEST_F(VisualRectMappingTest, LayoutView) {
|
|
|
| // This case involves clipping: frame height is 50, y-coordinate of result rect is 13,
|
| // so height should be clipped to (50 - 13) == 37.
|
| - frameDocument.view()->setScrollPosition(DoublePoint(0, 47),
|
| - ProgrammaticScroll);
|
| + frameDocument.view()->setScrollOffset(ScrollOffset(0, 47),
|
| + ProgrammaticScroll);
|
| LayoutRect originalRect(4, 60, 20, 80);
|
| LayoutRect rect = originalRect;
|
| EXPECT_TRUE(frameText->mapToVisualRectInAncestorSpace(frameContainer, rect));
|
| @@ -208,8 +208,8 @@ TEST_F(VisualRectMappingTest, LayoutViewDisplayNone) {
|
|
|
| // This part is copied from the LayoutView test, just to ensure that the mapped
|
| // rect is valid before display:none is set on the iframe.
|
| - frameDocument.view()->setScrollPosition(DoublePoint(0, 47),
|
| - ProgrammaticScroll);
|
| + frameDocument.view()->setScrollOffset(ScrollOffset(0, 47),
|
| + ProgrammaticScroll);
|
| LayoutRect originalRect(4, 60, 20, 80);
|
| LayoutRect rect = originalRect;
|
| EXPECT_TRUE(frameDiv->mapToVisualRectInAncestorSpace(frameContainer, rect));
|
|
|