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 56f05f45224097df30d38a81366fc54a7710db3e..11714017df33997d84f7b17bcae715dec39fb431 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 { |