From 47e29fdb9dc00e6a8eba061a7506011c362ff791 Mon Sep 17 00:00:00 2001 From: Jean-Yves Avenard Date: Fri, 24 May 2019 11:35:27 +0000 Subject: [PATCH] Bug 1550422 - P20. Add missing namespace. r=mattwoodrow Differential Revision: https://phabricator.services.mozilla.com/D31463 --HG-- extra : moz-landing-system : lando --- gfx/tests/gtest/TestRect.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gfx/tests/gtest/TestRect.cpp b/gfx/tests/gtest/TestRect.cpp index f3884577e156..2b6bdecb70e2 100644 --- a/gfx/tests/gtest/TestRect.cpp +++ b/gfx/tests/gtest/TestRect.cpp @@ -517,18 +517,18 @@ static void TestIntersectionLogicalHelper(nscoord x1, nscoord y1, nscoord w1, mozilla::LogicalRect r2(mozilla::WritingMode(), rect2.X(), rect2.Y(), rect2.Width(), rect2.Height()); EXPECT_TRUE(isNonEmpty == r1.IntersectRect(r1, r2)); - EXPECT_TRUE(rectDebug.IsEqualEdges( - nsRect(r1.IStart(WritingMode()), r1.BStart(WritingMode()), - r1.ISize(WritingMode()), r1.BSize(WritingMode())))); + EXPECT_TRUE(rectDebug.IsEqualEdges(nsRect( + r1.IStart(mozilla::WritingMode()), r1.BStart(mozilla::WritingMode()), + r1.ISize(mozilla::WritingMode()), r1.BSize(mozilla::WritingMode())))); mozilla::LogicalRect r3(mozilla::WritingMode(), rect1.X(), rect1.Y(), rect1.Width(), rect1.Height()); mozilla::LogicalRect r4(mozilla::WritingMode(), rect2.X(), rect2.Y(), rect2.Width(), rect2.Height()); EXPECT_TRUE(isNonEmpty == r4.IntersectRect(r3, r4)); - EXPECT_TRUE(rectDebug.IsEqualEdges( - nsRect(r4.IStart(WritingMode()), r4.BStart(WritingMode()), - r4.ISize(WritingMode()), r4.BSize(WritingMode())))); + EXPECT_TRUE(rectDebug.IsEqualEdges(nsRect( + r4.IStart(mozilla::WritingMode()), r4.BStart(mozilla::WritingMode()), + r4.ISize(mozilla::WritingMode()), r4.BSize(mozilla::WritingMode())))); mozilla::LogicalRect r5(mozilla::WritingMode(), rect1.X(), rect1.Y(), rect1.Width(), rect1.Height()); @@ -536,9 +536,9 @@ static void TestIntersectionLogicalHelper(nscoord x1, nscoord y1, nscoord w1, rect2.Width(), rect2.Height()); mozilla::LogicalRect r7(mozilla::WritingMode(), 0, 0, 1, 1); EXPECT_TRUE(isNonEmpty == r7.IntersectRect(r5, r6)); - EXPECT_TRUE(rectDebug.IsEqualEdges( - nsRect(r7.IStart(WritingMode()), r7.BStart(WritingMode()), - r7.ISize(WritingMode()), r7.BSize(WritingMode())))); + EXPECT_TRUE(rectDebug.IsEqualEdges(nsRect( + r7.IStart(mozilla::WritingMode()), r7.BStart(mozilla::WritingMode()), + r7.ISize(mozilla::WritingMode()), r7.BSize(mozilla::WritingMode())))); } static void TestIntersectionLogical(nscoord x1, nscoord y1, nscoord w1,