| 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 75a14c126049e00ced0923749a439772f8c35f52..d9b54cfe6f112f756290c65f58b703fc84e95aa9 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -851,7 +851,7 @@ bool Node::IsInert() const {
|
| (!CanParticipateInFlatTree() ||
|
| !FlatTreeTraversal::ContainsIncludingPseudoElement(*dialog, *this)))
|
| return true;
|
| - return GetDocument().LocalOwner() && GetDocument().LocalOwner()->IsInert();
|
| + return GetDocument().GetFrame() && GetDocument().GetFrame()->IsInert();
|
| }
|
|
|
| unsigned Node::NodeIndex() const {
|
|
|