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

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

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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/InspectorDOMAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
index 02c32a9c100e7b30afcd455e134eef58dcacba33..8787d1eef6f69d85d166cd90360a3e252a87872f 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
@@ -1089,7 +1089,7 @@ Response InspectorDOMAgent::performSearch(
*searchId = IdentifiersFactory::createIdentifier();
HeapVector<Member<Node>>* resultsIt =
- &m_searchResults.add(*searchId, HeapVector<Member<Node>>())
+ &m_searchResults.insert(*searchId, HeapVector<Member<Node>>())
.storedValue->value;
for (auto& result : resultCollector)

Powered by Google App Engine
This is Rietveld 408576698