Index: third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
index 0b6d3015034d2a1baf9e95a3ca91de146d70c8b2..1d593fd3bd57ce1ad246fc87ce8f46734187073e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp |
@@ -1135,6 +1135,8 @@ void LayoutTableSection::layoutRows() |
int LayoutTableSection::paginationStrutForRow(LayoutTableRow* row, LayoutUnit logicalOffset) const |
{ |
+ if (!row) |
mstensho (USE GERRIT)
2016/08/12 08:36:59
Why would you ever want to pass a null pointer? Be
rhogan
2016/08/12 18:39:48
Sure - updated.
|
+ return 0; |
// Even if the row allows us to break-inside, we will want to put a strut on the row if we have a header |
// group that wants to appear at the top of each page. |
bool tableHeaderForcesStrut = table()->header() ? table()->header()->getPaginationBreakability() != AllowAnyBreaks : false; |