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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 2796163002: Migrate WTF::HashCountedSet::add() to ::insert() (Closed)
Patch Set: Created 3 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/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index 0c091b9654497157cfc5875888462d26e51f742e..57c9a5d0129ff2c32451d5ff30dda87a03f7b86b 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -193,7 +193,7 @@ static void addUnloadEventListener(LocalDOMWindow* domWindow) {
LocalFrameClient::UnloadHandler);
}
- set.add(domWindow);
+ set.insert(domWindow);
}
static void removeUnloadEventListener(LocalDOMWindow* domWindow) {
@@ -227,7 +227,7 @@ static void addBeforeUnloadEventListener(LocalDOMWindow* domWindow) {
LocalFrameClient::BeforeUnloadHandler);
}
- set.add(domWindow);
+ set.insert(domWindow);
}
static void removeBeforeUnloadEventListener(LocalDOMWindow* domWindow) {
« no previous file with comments | « third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp ('k') | third_party/WebKit/Source/core/html/HTMLDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698