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

Unified Diff: third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp

Issue 1907663005: [DevTools] Move v8-related instrumentation from agents to InspectorSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1889533002
Patch Set: profiler agent restore starts instrumenting Created 4 years, 8 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
Index: third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp b/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp
index 38c083420e22a1e652fbbfa694882b28264cf847..56e3fab731b6e47c1e8293aa212bde27001a89a5 100644
--- a/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp
@@ -79,12 +79,10 @@ void PageDebuggerAgent::enable(ErrorString* errorString)
return;
}
InspectorDebuggerAgent::enable(errorString);
- m_instrumentingAgents->setPageDebuggerAgent(this);
}
void PageDebuggerAgent::disable(ErrorString* errorString)
{
- m_instrumentingAgents->setPageDebuggerAgent(nullptr);
m_compiledScriptURLs.clear();
InspectorDebuggerAgent::disable(errorString);
}
@@ -96,12 +94,4 @@ void PageDebuggerAgent::restore()
}
-void PageDebuggerAgent::didStartProvisionalLoad(LocalFrame* frame)
-{
- if (frame == m_inspectedFrames->root()) {
- ErrorString error;
- resume(&error);
- }
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698