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 d115f5ffdd7737f397158a74e34edd1b525fd47f..fa7fe679eb2c69e96169519edcbbd0cabf21b6da 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -870,7 +870,7 @@ bool Node::IsInert() const { |
element = FlatTreeTraversal::ParentElement(*element); |
} |
} |
- return GetDocument().LocalOwner() && GetDocument().LocalOwner()->IsInert(); |
+ return GetDocument().GetFrame() && GetDocument().GetFrame()->IsInert(); |
} |
unsigned Node::NodeIndex() const { |