| Index: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| index 9c2e7cc2bb33e9583d90af38d1c4b45eabae1b7c..5b37c793d6b729832fc21ec1d3424c869cf9f529 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -1655,7 +1655,7 @@ Node* InspectorDOMAgent::innerParentNode(Node* node)
|
| Document* document = toDocument(node);
|
| if (HTMLImportLoader* loader = document->importLoader())
|
| return loader->firstImport()->link();
|
| - return document->ownerElement();
|
| + return document->localOwnerElement();
|
| }
|
| return node->parentOrShadowHostNode();
|
| }
|
| @@ -1679,7 +1679,7 @@ void InspectorDOMAgent::domContentLoadedEventFired(LocalFrame* frame)
|
|
|
| void InspectorDOMAgent::invalidateFrameOwnerElement(LocalFrame* frame)
|
| {
|
| - HTMLFrameOwnerElement* frameOwner = frame->document()->ownerElement();
|
| + HTMLFrameOwnerElement* frameOwner = frame->document()->localOwnerElement();
|
| if (!frameOwner)
|
| return;
|
|
|
|
|