| 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..55d7cc9b33bc198a0a406be02cc84a7a324cc6e2 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| @@ -765,7 +765,11 @@ bool isEnclosingBlock(const Node* node)
|
|
|
| bool isInline(const Node* node)
|
| {
|
| - return node && node->computedStyle()->display() == INLINE;
|
| + if (!node)
|
| + return false;
|
| +
|
| + const ComputedStyle* style = node->computedStyle();
|
| + return style && style->display() == INLINE;
|
| }
|
|
|
| // TODO(yosin) Deploy this in all of the places where |enclosingBlockFlow()| and
|
|
|