| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 1263f0e3139fcb3403fa7b9d868851e269c3f4b6..fb5dd2a855cae8baf0b8abe045b4f2212be63773 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -51,6 +51,7 @@
|
| #include "core/html/HTMLPlugInElement.h"
|
| #include "core/inspector/ConsoleMessageStorage.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| +#include "core/inspector/InstrumentingAgents.h"
|
| #include "core/layout/HitTestResult.h"
|
| #include "core/layout/compositing/RenderLayerCompositor.h"
|
| #include "core/loader/FrameLoaderClient.h"
|
| @@ -221,6 +222,7 @@ LocalFrame::~LocalFrame()
|
|
|
| void LocalFrame::trace(Visitor* visitor)
|
| {
|
| + visitor->trace(m_instrumentingAgents);
|
| #if ENABLE(OILPAN)
|
| visitor->trace(m_destructionObservers);
|
| visitor->trace(m_loader);
|
| @@ -424,6 +426,16 @@ LocalFrame* LocalFrame::localFrameRoot()
|
| return curFrame;
|
| }
|
|
|
| +InstrumentingAgents* LocalFrame::instrumentingAgents()
|
| +{
|
| + return m_instrumentingAgents.get();
|
| +}
|
| +
|
| +void LocalFrame::setInstrumentingAgents(InstrumentingAgents* instrumentingAgents)
|
| +{
|
| + m_instrumentingAgents = instrumentingAgents;
|
| +}
|
| +
|
| bool LocalFrame::inScope(TreeScope* scope) const
|
| {
|
| ASSERT(scope);
|
| @@ -815,6 +827,7 @@ inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameO
|
| , m_pageZoomFactor(parentPageZoomFactor(this))
|
| , m_textZoomFactor(parentTextZoomFactor(this))
|
| , m_inViewSourceMode(false)
|
| + , m_instrumentingAgents(host->instrumentingAgents())
|
| {
|
| }
|
|
|
|
|