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

Unified Diff: third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.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/web/tests/LayoutGeometryMapTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp b/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
index 5afcad909a2587d8ec75cec6039c6c67d4ccac32..12ebe87f36a965b29f4836bf2ac8b88c29bac808 100644
--- a/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
+++ b/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
@@ -408,9 +408,10 @@ TEST_P(LayoutGeometryMapTest, IframeTest) {
0);
rgmNoFrame.pushMappingsToAncestor(
getFrameElement("test_frame", webView, "InnerDiv"), 0);
- EXPECT_EQ(FloatQuad(FloatRect(21.0f, 6.0f, 1.0f, 2.0f)),
- rgm.mapToAncestor(rect, getFrameLayoutContainer(
- "test_frame", webView, "CenterDiv")));
+ EXPECT_EQ(
+ FloatQuad(FloatRect(21.0f, 6.0f, 1.0f, 2.0f)),
+ rgm.mapToAncestor(
+ rect, getFrameLayoutContainer("test_frame", webView, "CenterDiv")));
EXPECT_EQ(
FloatQuad(FloatRect(21.0f, 6.0f, 1.0f, 2.0f)),
rgmNoFrame.mapToAncestor(
@@ -422,17 +423,19 @@ TEST_P(LayoutGeometryMapTest, IframeTest) {
rgmNoFrame.pushMappingsToAncestor(
getFrameElement("test_frame", webView, "OtherDiv"),
getFrameLayoutContainer("test_frame", webView, "InnerDiv"));
- EXPECT_EQ(FloatQuad(FloatRect(22.0f, 12.0f, 1.0f, 2.0f)),
- rgm.mapToAncestor(rect, getFrameLayoutContainer(
- "test_frame", webView, "CenterDiv")));
+ EXPECT_EQ(
+ FloatQuad(FloatRect(22.0f, 12.0f, 1.0f, 2.0f)),
+ rgm.mapToAncestor(
+ rect, getFrameLayoutContainer("test_frame", webView, "CenterDiv")));
EXPECT_EQ(
FloatQuad(FloatRect(22.0f, 12.0f, 1.0f, 2.0f)),
rgmNoFrame.mapToAncestor(
rect, getFrameLayoutContainer("test_frame", webView, "CenterDiv")));
- EXPECT_EQ(FloatQuad(FloatRect(1.0f, 6.0f, 1.0f, 2.0f)),
- rgm.mapToAncestor(rect, getFrameLayoutContainer(
- "test_frame", webView, "InnerDiv")));
+ EXPECT_EQ(
+ FloatQuad(FloatRect(1.0f, 6.0f, 1.0f, 2.0f)),
+ rgm.mapToAncestor(
+ rect, getFrameLayoutContainer("test_frame", webView, "InnerDiv")));
EXPECT_EQ(
FloatQuad(FloatRect(1.0f, 6.0f, 1.0f, 2.0f)),
rgmNoFrame.mapToAncestor(
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp ('k') | third_party/WebKit/Source/web/tests/RootScrollerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698