Chromium Code Reviews| 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 b578e7ac3c35b9dc58802d82561ef41414f6ccf6..0063488aaede35106a31ccf335ea39646af2f643 100644 |
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
| @@ -765,7 +765,7 @@ bool isEnclosingBlock(const Node* node) |
| bool isInline(const Node* node) |
| { |
| - return node && node->computedStyle()->display() == INLINE; |
| + return node && node->computedStyle() && node->computedStyle()->display() == INLINE; |
|
yosin_UTC9
2016/07/14 01:08:52
Since |Node::computedStyle()| isn't simple getter,
joone
2016/07/14 07:06:54
Done.
|
| } |
| // TODO(yosin) Deploy this in all of the places where |enclosingBlockFlow()| and |