Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
index c028923fec57512ec3e6b4dec38e6a62fffbbc24..5c88fec583bfd63efc364c7c337d02d3fa493737 100644 |
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
@@ -153,6 +153,8 @@ PaintInvalidationState::PaintInvalidationState(const PaintInvalidationState& par |
if (currentObject.isLayoutView()) { |
ASSERT(&parentState.m_currentObject == toLayoutView(currentObject).frame()->ownerLayoutObject()); |
m_paintOffset += toLayoutBox(parentState.m_currentObject).contentBoxOffset(); |
+ // a LayoutView paints with a defined size but a pixel-rounded offset. |
+ m_paintOffset = LayoutSize(roundedIntSize(m_paintOffset)); |
return; |
} |