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

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

Issue 1903953002: [DevTools] Move from InstrumentingAgents to InstrumentingSessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-discard-agent
Patch Set: rebased 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/InspectedFrames.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectedFrames.cpp b/third_party/WebKit/Source/core/inspector/InspectedFrames.cpp
index dbf988607d6e0424878db6a1bc8299a471b436fc..63bcb99611823a7e12254dc18749aea5fac94098 100644
--- a/third_party/WebKit/Source/core/inspector/InspectedFrames.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectedFrames.cpp
@@ -26,7 +26,7 @@ InspectedFrames::Iterator InspectedFrames::end()
bool InspectedFrames::contains(LocalFrame* frame) const
{
- return frame->instrumentingAgents() == m_root->instrumentingAgents();
+ return frame->instrumentingSessions() == m_root->instrumentingSessions();
}
LocalFrame* InspectedFrames::frameWithSecurityOrigin(const String& originRawString)
@@ -54,7 +54,7 @@ InspectedFrames::Iterator& InspectedFrames::Iterator::operator++()
if (!frame->isLocalFrame())
continue;
LocalFrame* local = toLocalFrame(frame);
- if (local->instrumentingAgents() == m_root->instrumentingAgents()) {
+ if (local->instrumentingSessions() == m_root->instrumentingSessions()) {
m_current = local;
break;
}

Powered by Google App Engine
This is Rietveld 408576698