| 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 795bb92d26676eb43c517b35e345b72bc8c4eb63..59deda0087626facecead2a5e4136f8b94123cfb 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| @@ -809,7 +809,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();
|
|
|