Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 2786463004: Paint backgrounds of a table section/row in one display item (Closed)
Patch Set: - Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index fe8b13e07a1f7f0457d5c36469f1505eb5c51ac6..154fd636eaa6f70f3416eaeffb338e6f3349afe8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -518,7 +518,7 @@ void LayoutBlock::addOverflowFromBlockChildren() {
for (LayoutBox* child = firstChildBox(); child;
child = child->nextSiblingBox()) {
if (!child->isFloatingOrOutOfFlowPositioned() && !child->isColumnSpanAll())
- addOverflowFromChild(child);
+ addOverflowFromChild(*child);
}
}
@@ -531,7 +531,7 @@ void LayoutBlock::addOverflowFromPositionedObjects() {
// Fixed positioned elements don't contribute to layout overflow, since they
// don't scroll with the content.
if (positionedObject->style()->position() != EPosition::kFixed)
- addOverflowFromChild(positionedObject,
+ addOverflowFromChild(*positionedObject,
toLayoutSize(positionedObject->location()));
}
}

Powered by Google App Engine
This is Rietveld 408576698