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/LayoutTable.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/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index 503bf9a13da502ebb88eee40dffb2ef699a4f3ba..759ed5255de5625c17b97f20ccc89eb77d3ca5bd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -823,12 +823,12 @@ void LayoutTable::addOverflowFromChildren() {
// Add overflow from our caption.
for (unsigned i = 0; i < m_captions.size(); i++)
- addOverflowFromChild(m_captions[i]);
+ addOverflowFromChild(*m_captions[i]);
// Add overflow from our sections.
for (LayoutTableSection* section = topSection(); section;
section = sectionBelow(section))
- addOverflowFromChild(section);
+ addOverflowFromChild(*section);
}
void LayoutTable::paintObject(const PaintInfo& paintInfo,
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698