| Index: third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| index 53f009d3d6b8723fe627a99fe6e9a96affba3813..736d889bf286020e88b7afa6ef2f399bf276d8fd 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| @@ -1507,11 +1507,7 @@ bool canMergeLists(Element* firstList, Element* secondList) {
|
| }
|
|
|
| bool isDisplayInsideTable(const Node* node) {
|
| - if (!node || !node->isElementNode())
|
| - return false;
|
| -
|
| - LayoutObject* layoutObject = node->layoutObject();
|
| - return (layoutObject && layoutObject->isTable());
|
| + return node && node->layoutObject() && isHTMLTableElement(node);
|
| }
|
|
|
| bool isTableCell(const Node* node) {
|
|
|