Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"));

Powered by Google App Engine
This is Rietveld 408576698