diff options
Diffstat (limited to 'Source/WebCore/inspector/InspectorInstrumentationCookie.cpp')
-rw-r--r-- | Source/WebCore/inspector/InspectorInstrumentationCookie.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/WebCore/inspector/InspectorInstrumentationCookie.cpp b/Source/WebCore/inspector/InspectorInstrumentationCookie.cpp index 7f00deb3f..b99a40f33 100644 --- a/Source/WebCore/inspector/InspectorInstrumentationCookie.cpp +++ b/Source/WebCore/inspector/InspectorInstrumentationCookie.cpp @@ -31,20 +31,17 @@ #include "config.h" #include "InspectorInstrumentationCookie.h" -#if ENABLE(INSPECTOR) - #include "InstrumentingAgents.h" namespace WebCore { InspectorInstrumentationCookie::InspectorInstrumentationCookie() - : m_instrumentingAgents(nullptr) - , m_timelineAgentId(0) + : m_timelineAgentId(0) { } -InspectorInstrumentationCookie::InspectorInstrumentationCookie(InstrumentingAgents* agents, int timelineAgentId) - : m_instrumentingAgents(agents) +InspectorInstrumentationCookie::InspectorInstrumentationCookie(InstrumentingAgents& agents, int timelineAgentId) + : m_instrumentingAgents(&agents) , m_timelineAgentId(timelineAgentId) { } @@ -70,5 +67,3 @@ InspectorInstrumentationCookie::~InspectorInstrumentationCookie() } } // namespace WebCore - -#endif // ENABLE(INSPECTOR) |