| 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 af9bd8e9e9ba8de5c718b873ffc1e8e6372faae1..96a68f7cd35622fe5329c2c57e308d64bddc48ef 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -1912,6 +1912,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());
|
|
|