Index: third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp |
index c19c7e64a83d985e9774bf0828320dc2f8a72435..d30549437c9a5e32e1bcc6f8804dc14375c299b2 100644 |
--- a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp |
@@ -33,7 +33,7 @@ class VisualRectMappingTest : public RenderingTest { |
PaintLayer::mapRectInPaintInvalidationContainerToBacking( |
paintInvalidationContainer, rect); |
} |
- EXPECT_EQ(rect, object.visualRect()); |
+ EXPECT_EQ(enclosingIntRect(rect), enclosingIntRect(object.visualRect())); |
} |
}; |