| 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 12a9088b9788441bf3166a28510a8601bf52ee61..d6b52023c85fb168677e827482f9f6ad556ec86e 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().localOwner() && document().localOwner()->isInert();
|
| }
|
|
|
| unsigned Node::nodeIndex() const
|
|
|