Index: Source/core/inspector/InspectorTimelineAgent.cpp |
diff --git a/Source/core/inspector/InspectorTimelineAgent.cpp b/Source/core/inspector/InspectorTimelineAgent.cpp |
index 3d6ed2362a7f6c8f898b36b706dd78d55137433d..5af270ad59dd6904e9943d16f5625c8c0ad914b0 100644 |
--- a/Source/core/inspector/InspectorTimelineAgent.cpp |
+++ b/Source/core/inspector/InspectorTimelineAgent.cpp |
@@ -346,7 +346,6 @@ |
{ |
if (m_overlay) |
m_overlay->startedRecordingProfile(); |
- m_registry->profilerStarted(); |
m_state->setBoolean(TimelineAgentState::started, true); |
m_instrumentingAgents->setInspectorTimelineAgent(this); |
ScriptGCEvent::addEventListener(this); |
@@ -403,7 +402,6 @@ |
m_client->stopGPUEventsRecording(); |
} |
m_instrumentingAgents->setInspectorTimelineAgent(0); |
- m_registry->profilerStopped(); |
ScriptGCEvent::removeEventListener(this); |
clearRecordStack(); |
@@ -1149,7 +1147,7 @@ |
} |
InspectorTimelineAgent::InspectorTimelineAgent(InspectorPageAgent* pageAgent, InspectorLayerTreeAgent* layerTreeAgent, |
- InspectorOverlay* overlay, InspectorType type, InspectorClient* client, InspectorAgentRegistry* registry) |
+ InspectorOverlay* overlay, InspectorType type, InspectorClient* client) |
: InspectorBaseAgent<InspectorTimelineAgent>("Timeline") |
, m_pageAgent(pageAgent) |
, m_layerTreeAgent(layerTreeAgent) |
@@ -1165,7 +1163,6 @@ |
, m_paintSetupStart(0) |
, m_mayEmitFirstPaint(false) |
, m_lastProgressTimestamp(0) |
- , m_registry(registry) |
{ |
} |