| Index: Source/core/inspector/InspectorConsoleAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp
|
| index c9ef8feff85619a87c34ef7713abe2e2b26c29a1..bf61e1043b07189382483f0474c4affac7d2faef 100644
|
| --- a/Source/core/inspector/InspectorConsoleAgent.cpp
|
| +++ b/Source/core/inspector/InspectorConsoleAgent.cpp
|
| @@ -75,12 +75,20 @@ InspectorConsoleAgent::InspectorConsoleAgent(InspectorTimelineAgent* timelineAge
|
|
|
| InspectorConsoleAgent::~InspectorConsoleAgent()
|
| {
|
| +#if !ENABLE(OILPAN)
|
| m_instrumentingAgents->setInspectorConsoleAgent(0);
|
| - m_instrumentingAgents = 0;
|
| + m_instrumentingAgents = nullptr;
|
| +#endif
|
| m_state = 0;
|
| m_injectedScriptManager = 0;
|
| }
|
|
|
| +void InspectorConsoleAgent::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_timelineAgent);
|
| + InspectorBaseAgent::trace(visitor);
|
| +}
|
| +
|
| void InspectorConsoleAgent::init()
|
| {
|
| m_instrumentingAgents->setInspectorConsoleAgent(this);
|
|
|