Bug 1014691 - Get TestAsyncPanZoomController to compile in its new location. r=kats

This commit is contained in:
Botond Ballo 2015-09-16 19:49:59 -04:00
parent 76c4fb2334
commit 993899b63a

View File

@ -947,8 +947,8 @@ TEST_F(APZCBasicTester, Overzoom) {
EXPECT_EQ(0.8f, fm.GetZoom().ToScaleFactor().scale);
// bug 936721 - PGO builds introduce rounding error so
// use a fuzzy match instead
EXPECT_LT(abs(fm.GetScrollOffset().x), 1e-5);
EXPECT_LT(abs(fm.GetScrollOffset().y), 1e-5);
EXPECT_LT(std::abs(fm.GetScrollOffset().x), 1e-5);
EXPECT_LT(std::abs(fm.GetScrollOffset().y), 1e-5);
}
TEST_F(APZCBasicTester, SimpleTransform) {