| Index: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| index 43b900803256831f1519017d9cd7383dcedb7225..bfacd7af9777c4b9c14841dc961c30ee69e1a493 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| @@ -27,6 +27,7 @@
|
|
|
| #include "core/HTMLNames.h"
|
| #include "core/css/StylePropertySet.h"
|
| +#include "core/editing/EditingUtilities.h"
|
| #include "core/html/HTMLTableCellElement.h"
|
| #include "core/layout/LayoutAnalyzer.h"
|
| #include "core/layout/LayoutTableCol.h"
|
| @@ -1489,4 +1490,11 @@ void LayoutTableCell::adjustChildDebugRect(LayoutRect& r) const {
|
| r.move(0, -intrinsicPaddingBefore());
|
| }
|
|
|
| +bool LayoutTableCell::hasLineIfEmpty() const {
|
| + if (node() && hasEditableStyle(*node()))
|
| + return true;
|
| +
|
| + return LayoutBlock::hasLineIfEmpty();
|
| +}
|
| +
|
| } // namespace blink
|
|
|