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

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

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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/InspectorNetworkAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
index 2aab6c337a23b6a80b2a8073bb909f474969d67f..47c84b43aba67e20c17acbf471df5c540bad2169 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -936,7 +936,7 @@ void InspectorNetworkAgent::delayedRemoveReplayXHR(XMLHttpRequest* xhr) {
if (!m_replayXHRs.contains(xhr))
return;
DCHECK(m_removeFinishedReplayXHRTimer);
- m_replayXHRsToBeDeleted.add(xhr);
+ m_replayXHRsToBeDeleted.insert(xhr);
m_replayXHRs.remove(xhr);
m_removeFinishedReplayXHRTimer->startOneShot(0, BLINK_FROM_HERE);
}
@@ -1397,7 +1397,7 @@ Response InspectorNetworkAgent::replayXHR(const String& requestId) {
xhr->sendForInspectorXHRReplay(xhrReplayData->formData(),
IGNORE_EXCEPTION_FOR_TESTING);
- m_replayXHRs.add(xhr);
+ m_replayXHRs.insert(xhr);
return Response::OK();
}

Powered by Google App Engine
This is Rietveld 408576698