| Index: third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp b/third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp
|
| index 3e92f198d3bc8109641eaf0b366aca8e7fdd1b7c..e7d0bbd73800bf2cb584b2707bc54a3adb10fa66 100644
|
| --- a/third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp
|
| @@ -548,11 +548,12 @@ TEST_P(MapCoordinatesTest, FixedPosInFixedPosScrollView) {
|
| document().view()->layoutViewportScrollableArea()->setScrollOffset(
|
| ScrollOffset(0.0, 50), ProgrammaticScroll);
|
| document().view()->updateAllLifecyclePhases();
|
| - EXPECT_EQ(50, document()
|
| - .view()
|
| - ->layoutViewportScrollableArea()
|
| - ->scrollOffsetInt()
|
| - .height());
|
| + EXPECT_EQ(50,
|
| + document()
|
| + .view()
|
| + ->layoutViewportScrollableArea()
|
| + ->scrollOffsetInt()
|
| + .height());
|
|
|
| FloatPoint mappedPoint = mapLocalToAncestor(target, view, FloatPoint());
|
| EXPECT_EQ(adjustForFrameScroll(FloatPoint(200, 250)), mappedPoint);
|
| @@ -583,11 +584,12 @@ TEST_P(MapCoordinatesTest, FixedPosInAbsolutePosScrollView) {
|
| document().view()->layoutViewportScrollableArea()->setScrollOffset(
|
| ScrollOffset(0.0, 50), ProgrammaticScroll);
|
| document().view()->updateAllLifecyclePhases();
|
| - EXPECT_EQ(50, document()
|
| - .view()
|
| - ->layoutViewportScrollableArea()
|
| - ->scrollOffsetInt()
|
| - .height());
|
| + EXPECT_EQ(50,
|
| + document()
|
| + .view()
|
| + ->layoutViewportScrollableArea()
|
| + ->scrollOffsetInt()
|
| + .height());
|
|
|
| FloatPoint mappedPoint = mapLocalToAncestor(target, view, FloatPoint());
|
| EXPECT_EQ(adjustForFrameScroll(FloatPoint(200, 250)), mappedPoint);
|
| @@ -612,11 +614,12 @@ TEST_P(MapCoordinatesTest, FixedPosInTransform) {
|
| document().view()->layoutViewportScrollableArea()->setScrollOffset(
|
| ScrollOffset(0.0, 50), ProgrammaticScroll);
|
| document().view()->updateAllLifecyclePhases();
|
| - EXPECT_EQ(50, document()
|
| - .view()
|
| - ->layoutViewportScrollableArea()
|
| - ->scrollOffsetInt()
|
| - .height());
|
| + EXPECT_EQ(50,
|
| + document()
|
| + .view()
|
| + ->layoutViewportScrollableArea()
|
| + ->scrollOffsetInt()
|
| + .height());
|
|
|
| LayoutBox* target = toLayoutBox(getLayoutObjectByElementId("target"));
|
| LayoutBox* container = toLayoutBox(getLayoutObjectByElementId("container"));
|
| @@ -653,11 +656,12 @@ TEST_P(MapCoordinatesTest, FixedPosInContainPaint) {
|
| document().view()->layoutViewportScrollableArea()->setScrollOffset(
|
| ScrollOffset(0.0, 50), ProgrammaticScroll);
|
| document().view()->updateAllLifecyclePhases();
|
| - EXPECT_EQ(50, document()
|
| - .view()
|
| - ->layoutViewportScrollableArea()
|
| - ->scrollOffsetInt()
|
| - .height());
|
| + EXPECT_EQ(50,
|
| + document()
|
| + .view()
|
| + ->layoutViewportScrollableArea()
|
| + ->scrollOffsetInt()
|
| + .height());
|
|
|
| LayoutBox* target = toLayoutBox(getLayoutObjectByElementId("target"));
|
| LayoutBox* container = toLayoutBox(getLayoutObjectByElementId("container"));
|
|
|