Chromium Code Reviews| 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 2c1b5bee29fb8df519818bd1fb51beae183a9303..080a0c84bcce907a5323356cb38ce37b9bc4661b 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(); |
|
kenrb
2017/05/31 18:32:00
I had to keep the GetDocument().GetFrame() check,
|
| } |
| unsigned Node::NodeIndex() const { |