| Index: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| index bf1a65fff6874f92867469a9d2723dc87ef91f4b..a7b8c9139dbeecdc0363045c1ac7417c579af1ac 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| @@ -829,7 +829,7 @@ PassOwnPtr<protocol::Network::Initiator> InspectorResourceAgent::buildInitiatorO
|
| }
|
|
|
| while (document && !document->scriptableDocumentParser())
|
| - document = document->ownerElement() ? document->ownerElement()->ownerDocument() : nullptr;
|
| + document = document->localOwnerElement() ? document->localOwnerElement()->ownerDocument() : nullptr;
|
| if (document && document->scriptableDocumentParser()) {
|
| OwnPtr<protocol::Network::Initiator> initiatorObject = protocol::Network::Initiator::create()
|
| .setType(protocol::Network::Initiator::TypeEnum::Parser).build();
|
|
|