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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.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/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index d95e24c5fc742080577bb2f240655be7cb40cbf7..da76ba78d623c0e4eed0bfba26b55273909777ca 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -485,7 +485,7 @@ void LocalDOMWindow::frameDestroyed() {
void LocalDOMWindow::registerEventListenerObserver(
EventListenerObserver* eventListenerObserver) {
- m_eventListenerObservers.add(eventListenerObserver);
+ m_eventListenerObservers.insert(eventListenerObserver);
}
void LocalDOMWindow::reset() {
@@ -623,7 +623,7 @@ void LocalDOMWindow::schedulePostMessage(MessageEvent* event,
UserGestureIndicator::currentToken());
timer->startOneShot(0, BLINK_FROM_HERE);
timer->suspendIfNeeded();
- m_postMessageTimers.add(timer);
+ m_postMessageTimers.insert(timer);
}
void LocalDOMWindow::postMessageTimerFired(PostMessageTimer* timer) {
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/PlatformEventDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698