| Index: Source/core/inspector/InspectorDOMAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp
|
| index 27fb46ab2b2f83f512b440c7d1fafc8e71e05680..150de6032609cc56eb9f7b625399efec806b3176 100644
|
| --- a/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -1497,7 +1497,7 @@ PassRefPtr<TypeBuilder::DOM::Node> InspectorDOMAgent::buildObjectForNode(Node* n
|
|
|
| if (node->isFrameOwnerElement()) {
|
| HTMLFrameOwnerElement* frameOwner = toHTMLFrameOwnerElement(node);
|
| - if (LocalFrame* frame = frameOwner->contentFrame())
|
| + if (LocalFrame* frame = toLocalFrame(frameOwner->contentFrame()))
|
| value->setFrameId(m_pageAgent->frameId(frame));
|
| if (Document* doc = frameOwner->contentDocument())
|
| value->setContentDocument(buildObjectForNode(doc, 0, nodesMap));
|
|
|