| 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 e1ddb5588dc6f4207fd02cb1937250ef7f7babe2..753fdc73fbb0fd33f248166543dac1af1bb2fd6d 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
|
| @@ -834,7 +834,7 @@ PassOwnPtr<protocol::Network::Initiator> InspectorResourceAgent::buildInitiatorO
|
| }
|
|
|
| while (document && !document->scriptableDocumentParser())
|
| - document = document->ownerElement() ? document->ownerElement()->ownerDocument() : nullptr;
|
| + document = document->localOwner() ? document->localOwner()->ownerDocument() : nullptr;
|
| if (document && document->scriptableDocumentParser()) {
|
| OwnPtr<protocol::Network::Initiator> initiatorObject = protocol::Network::Initiator::create()
|
| .setType(protocol::Network::Initiator::TypeEnum::Parser).build();
|
|
|