Web Inspector: We should have a way to capture heap snapshots programatically.
[WebKit-https.git] / Source / WebCore / inspector / PageConsoleAgent.cpp
index 0149a0f..6dc90dc 100644 (file)
@@ -41,8 +41,8 @@ using namespace Inspector;
 
 namespace WebCore {
 
-PageConsoleAgent::PageConsoleAgent(WebAgentContext& context, InspectorDOMAgent* domAgent)
-    : WebConsoleAgent(context)
+PageConsoleAgent::PageConsoleAgent(WebAgentContext& context, InspectorHeapAgent* heapAgent, InspectorDOMAgent* domAgent)
+    : WebConsoleAgent(context, heapAgent)
     , m_inspectorDOMAgent(domAgent)
 {
 }