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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index aca950dfdaef5226338fab9bb65e51c04b10e851..94ff66f9b98556731492017642ed0d6b1ca31629 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -489,10 +489,10 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
void addVisualEffectOverflow();
LayoutRectOutsets computeVisualEffectOverflowOutsets();
- void addOverflowFromChild(LayoutBox* child) {
- addOverflowFromChild(child, child->locationOffset());
+ void addOverflowFromChild(const LayoutBox& child) {
+ addOverflowFromChild(child, child.locationOffset());
}
- void addOverflowFromChild(LayoutBox* child, const LayoutSize& delta);
+ void addOverflowFromChild(const LayoutBox& child, const LayoutSize& delta);
void clearLayoutOverflow();
void clearAllOverflows() { m_overflow.reset(); }
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698