Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1137)

Unified Diff: Source/core/inspector/InspectorTimelineAgent.cpp

Issue 327203002: Revert of DevTools: notify backend agents about profiler started/stopped events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorTimelineAgent.h ('k') | Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
}
« no previous file with comments | « Source/core/inspector/InspectorTimelineAgent.h ('k') | Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698