| Index: Source/core/inspector/InspectorInstrumentation.cpp
|
| diff --git a/Source/core/inspector/InspectorInstrumentation.cpp b/Source/core/inspector/InspectorInstrumentation.cpp
|
| index a5a8a77b002b2b69710c45db968e40d848909b43..81164924bb1d61bf03567e215b44794f9bcc584e 100644
|
| --- a/Source/core/inspector/InspectorInstrumentation.cpp
|
| +++ b/Source/core/inspector/InspectorInstrumentation.cpp
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "core/events/EventTarget.h"
|
| #include "core/fetch/FetchInitiatorInfo.h"
|
| +#include "core/frame/FrameHost.h"
|
| #include "core/inspector/InspectorCSSAgent.h"
|
| #include "core/inspector/InspectorConsoleAgent.h"
|
| #include "core/inspector/InspectorController.h"
|
| @@ -228,6 +229,11 @@ InstrumentingAgents* instrumentingAgentsFor(WorkerGlobalScope* workerGlobalScope
|
| return instrumentationForWorkerGlobalScope(workerGlobalScope);
|
| }
|
|
|
| +InstrumentingAgents* instrumentingAgentsFor(FrameHost* host)
|
| +{
|
| + return instrumentationForPage(&host->page());
|
| +}
|
| +
|
| InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ExecutionContext* context)
|
| {
|
| if (context->isWorkerGlobalScope())
|
|
|