| Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| index ed029a03a510098f54142adea253964c333d648c..6c47a57216bafff54165131f0a11628fc5315a76 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -670,7 +670,11 @@ void InspectorPageAgent::frameAttachedToParent(LocalFrame* frame) {
|
| Frame* parentFrame = frame->tree().parent();
|
| if (!parentFrame->isLocalFrame())
|
| parentFrame = 0;
|
| - frontend()->frameAttached(frameId(frame), frameId(toLocalFrame(parentFrame)));
|
| + std::unique_ptr<SourceLocation> location =
|
| + SourceLocation::captureWithFullStackTrace();
|
| + frontend()->frameAttached(
|
| + frameId(frame), frameId(toLocalFrame(parentFrame)),
|
| + location ? location->buildInspectorObject() : nullptr);
|
| }
|
|
|
| void InspectorPageAgent::frameDetachedFromParent(LocalFrame* frame) {
|
|
|