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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.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
Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 972589c6399330846e16d0ad68286ee1a805c607..0464d77a0dd82085ff6c4c113057e0eeff722d68 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -2412,7 +2412,7 @@ void LayoutBlockFlow::addOverflowFromFloats() {
const FloatingObject& floatingObject = *it->get();
if (floatingObject.isDescendant())
addOverflowFromChild(
- floatingObject.layoutObject(),
+ *floatingObject.layoutObject(),
LayoutSize(xPositionForFloatIncludingMargin(floatingObject),
yPositionForFloatIncludingMargin(floatingObject)));
}
@@ -3909,7 +3909,7 @@ void LayoutBlockFlow::addOverhangingFloats(LayoutBlockFlow* child,
// need to go ahead and add its overflow in to the child now.
if (floatingObject.isDescendant())
child->addOverflowFromChild(
- floatingObject.layoutObject(),
+ *floatingObject.layoutObject(),
LayoutSize(xPositionForFloatIncludingMargin(floatingObject),
yPositionForFloatIncludingMargin(floatingObject)));
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698