Index: third_party/WebKit/Source/core/paint/BoxPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
index cb95f07f977df093e1c76d7b974302aa465410ca..0d6c3177e49125ab2dd9b8900995eebec1fef3c4 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
@@ -212,9 +212,9 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect( |
bool themePainted = |
boxDecorationData.hasAppearance && |
!themePainter.paint(m_layoutBox, paintInfo, snappedPaintRect); |
- bool shouldPaintBackground = |
- !themePainted && (!paintInfo.skipRootBackground() || |
- paintInfo.paintContainer() != &m_layoutBox); |
+ bool shouldPaintBackground = !themePainted && |
+ (!paintInfo.skipRootBackground() || |
+ paintInfo.paintContainer() != &m_layoutBox); |
if (shouldPaintBackground) { |
paintBackground(paintInfo, paintRect, boxDecorationData.backgroundColor, |
boxDecorationData.bleedAvoidance); |
@@ -777,8 +777,9 @@ void BoxPainter::paintFillLayer(const LayoutBoxModelObject& obj, |
GlobalPaintNormalPhase, 0); |
if (box) { |
const RootInlineBox& root = box->root(); |
- box->paint(info, LayoutPoint(scrolledPaintRect.x() - box->x(), |
- scrolledPaintRect.y() - box->y()), |
+ box->paint(info, |
+ LayoutPoint(scrolledPaintRect.x() - box->x(), |
+ scrolledPaintRect.y() - box->y()), |
root.lineTop(), root.lineBottom()); |
} else { |
// FIXME: this should only have an effect for the line box list within |