Index: Source/core/inspector/InspectorConsoleAgent.cpp |
diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp |
index 5fcb94602711bb961624191ac84e5ced2bf08ac5..e1fb2c0c39cdd56e31cdbdd2f8a091f5dbfdc559 100644 |
--- a/Source/core/inspector/InspectorConsoleAgent.cpp |
+++ b/Source/core/inspector/InspectorConsoleAgent.cpp |
@@ -76,14 +76,15 @@ InspectorConsoleAgent::~InspectorConsoleAgent() |
#if !ENABLE(OILPAN) |
m_instrumentingAgents->setInspectorConsoleAgent(0); |
m_instrumentingAgents = nullptr; |
+ m_state = nullptr; |
haraken
2014/07/25 01:38:44
If you want to clear m_state, it's better to clear
keishi
2014/07/25 03:56:28
Done.
|
+ m_injectedScriptManager = nullptr; |
#endif |
- m_state = 0; |
- m_injectedScriptManager = 0; |
} |
void InspectorConsoleAgent::trace(Visitor* visitor) |
{ |
visitor->trace(m_timelineAgent); |
+ visitor->trace(m_injectedScriptManager); |
InspectorBaseAgent::trace(visitor); |
} |