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

Unified Diff: third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py

Issue 2654033007: Migrate WTF::HashSet::add() to ::insert() [part 2 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/CodeGeneratorInstrumentation.py
diff --git a/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py b/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
index 559ac64c9e6a8aa00e7ce6664fbd2cfcb14ae209..44febb608a321e3345abc4b186e78b1469c079c5 100755
--- a/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
+++ b/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py
@@ -122,7 +122,7 @@ template_instrumenting_agent_accessor = string.Template("""
template_instrumenting_agent_impl = string.Template("""
void InstrumentingAgents::add${class_name}(${class_name}* agent)
{
- ${member_name}.add(agent);
+ ${member_name}.insert(agent);
${has_member_name} = true;
}

Powered by Google App Engine
This is Rietveld 408576698