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

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, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2e17b0e4a24eacad4fddb42857eb05eb1edc2e0b..705bf4767a11cad6446035b5384d43c91aba62fa 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -526,7 +526,7 @@ void LayoutBlock::addOverflowFromBlockChildren() {
toLayoutBlockFlow(child)->containsInlineWithOutlineAndContinuation())
toLayoutBlockFlow(child)->addOverflowFromInlineChildren();
- addOverflowFromChild(child);
+ addOverflowFromChild(*child);
}
}
@@ -539,7 +539,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()));
}
}
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698