| Index: third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp
|
| index 86f6e065853f70a7bdfddc21ebc1eed50633caee..4d1833edb2be8350376d367339b618cfa8534676 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp
|
| @@ -55,7 +55,7 @@ void InspectorConsoleAgent::enable(ErrorString*)
|
| {
|
| if (m_enabled)
|
| return;
|
| - m_instrumentingAgents->setInspectorConsoleAgent(this);
|
| + m_instrumentingAgents->addInspectorConsoleAgent(this);
|
| m_enabled = true;
|
| enableStackCapturingIfNeeded();
|
|
|
| @@ -77,7 +77,7 @@ void InspectorConsoleAgent::disable(ErrorString*)
|
| {
|
| if (!m_enabled)
|
| return;
|
| - m_instrumentingAgents->setInspectorConsoleAgent(nullptr);
|
| + m_instrumentingAgents->removeInspectorConsoleAgent(this);
|
| m_enabled = false;
|
| disableStackCapturingIfNeeded();
|
|
|
|
|