Index: Source/core/inspector/InspectorConsoleAgent.cpp |
diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp |
index d9d5d9f248ce0948f7f28b5a6cc7e6e03edd81cd..c5c55b610d82c8ad0e0ae139e668fcec77092fad 100644 |
--- a/Source/core/inspector/InspectorConsoleAgent.cpp |
+++ b/Source/core/inspector/InspectorConsoleAgent.cpp |
@@ -73,8 +73,10 @@ 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; |
} |