| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index 745f6e9373c0754ca1763df206cfa933c39e8593..1fee87bfcc1a6139f4384f133b8e2de2be97f995 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -777,7 +777,7 @@ bool Node::isInert() const
|
| const HTMLDialogElement* dialog = document().activeModalDialog();
|
| if (dialog && this != document() && (!canParticipateInFlatTree() || !FlatTreeTraversal::containsIncludingPseudoElement(*dialog, *this)))
|
| return true;
|
| - return document().ownerElement() && document().ownerElement()->isInert();
|
| + return document().localOwnerElement() && document().localOwnerElement()->isInert();
|
| }
|
|
|
| unsigned Node::nodeIndex() const
|
|
|