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 67f50e01d42a86ac5effe69931ee8e7e06ea945d..81a246f89e42c099a5d66ebddd57b5836f8b4dff 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp |
@@ -118,7 +118,7 @@ TEST_F(LayoutObjectTest, MapToVisibleRectInContainerSpace) |
container->setScrollTop(50); |
LayoutRect rect(0, 60, 20, 20); |
- text->mapToVisibleRectInContainerSpace(container, rect, nullptr); |
+ text->mapToVisibleRectInAncestorSpace(container, rect, nullptr); |
EXPECT_TRUE(rect == LayoutRect(0, 10, 20, 20)); |
} |