| 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 c465177c6fab8fafe3f8be68d4f8c362786cbc7a..5186d3722546b60682f92b4e76c79ee633ed59d9 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -687,7 +687,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
|
|
|