| 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 428dba6e34f0fefdac734d1683be889c1604841c..e173834fba7c51e4021fe8801e5fe37e0f26eaeb 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -39,6 +39,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/frame/LocalFrameClient.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/frame/VisualViewport.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
| @@ -699,7 +700,9 @@ bool InspectorPageAgent::ScreencastEnabled() {
|
| }
|
|
|
| void InspectorPageAgent::FrameStartedLoading(LocalFrame* frame, FrameLoadType) {
|
| - GetFrontend()->frameStartedLoading(FrameId(frame));
|
| + String frame_id = FrameId(frame);
|
| + GetFrontend()->frameStartedLoading(frame_id);
|
| + frame->Client()->SetDevToolsFrameId(frame_id);
|
| }
|
|
|
| void InspectorPageAgent::FrameStoppedLoading(LocalFrame* frame) {
|
|
|