Web Inspector: Remove InspectorState
[WebKit-https.git] / Source / WebCore / inspector / InspectorMemoryAgent.cpp
index 7bc0e7b..2632bd4 100644 (file)
@@ -41,7 +41,6 @@
 #include "Frame.h"
 #include "InspectorDOMStorageAgent.h"
 #include "InspectorFrontend.h"
-#include "InspectorState.h"
 #include "InspectorValues.h"
 #include "InstrumentingAgents.h"
 #include "MemoryCache.h"
@@ -75,15 +74,15 @@ void InspectorMemoryAgent::getDOMCounters(ErrorString*, int* documents, int* nod
     *jsEventListeners = ThreadLocalInspectorCounters::current().counterValue(ThreadLocalInspectorCounters::JSEventListenerCounter);
 }
 
-InspectorMemoryAgent::InspectorMemoryAgent(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state)
-    : InspectorBaseAgent<InspectorMemoryAgent>("Memory", instrumentingAgents, state)
+InspectorMemoryAgent::InspectorMemoryAgent(InstrumentingAgents* instrumentingAgents)
+    : InspectorBaseAgent<InspectorMemoryAgent>("Memory", instrumentingAgents)
     , m_frontend(0)
 {
 }
 
-PassOwnPtr<InspectorMemoryAgent> InspectorMemoryAgent::create(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state)
+PassOwnPtr<InspectorMemoryAgent> InspectorMemoryAgent::create(InstrumentingAgents* instrumentingAgents)
 {
-    return adoptPtr(new InspectorMemoryAgent(instrumentingAgents, state));
+    return adoptPtr(new InspectorMemoryAgent(instrumentingAgents));
 }