| 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 3a66f9b07547b61c630f51ac1d3c538fbb2ac7e4..b397124d0e9442c2b2bcdbb93092fe10825a0d75 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -1876,6 +1876,10 @@ void InspectorDOMAgent::invalidateFrameOwnerElement(LocalFrame* frame) {
|
| }
|
|
|
| void InspectorDOMAgent::didCommitLoad(LocalFrame*, DocumentLoader* loader) {
|
| + Document* document = loader->frame()->document();
|
| + if (m_domListener)
|
| + m_domListener->didAddDocument(document);
|
| +
|
| LocalFrame* inspectedFrame = m_inspectedFrames->root();
|
| if (loader->frame() != inspectedFrame) {
|
| invalidateFrameOwnerElement(loader->frame());
|
|
|