summaryrefslogtreecommitdiff
path: root/Source/WebCore/inspector/InspectorInstrumentationCookie.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/inspector/InspectorInstrumentationCookie.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/inspector/InspectorInstrumentationCookie.cpp')
-rw-r--r--Source/WebCore/inspector/InspectorInstrumentationCookie.cpp11
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)