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

Unified Diff: third_party/WebKit/Source/core/dom/ResizeObserverController.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptRunner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ResizeObserverController.cpp
diff --git a/third_party/WebKit/Source/core/dom/ResizeObserverController.cpp b/third_party/WebKit/Source/core/dom/ResizeObserverController.cpp
index 685eb5858474c6f4ac1b8e235c9f7c35f027fd4f..b076f722a276612871570f663fcecb592e86a10f 100644
--- a/third_party/WebKit/Source/core/dom/ResizeObserverController.cpp
+++ b/third_party/WebKit/Source/core/dom/ResizeObserverController.cpp
@@ -12,7 +12,7 @@ ResizeObserverController::ResizeObserverController()
: m_observersChanged(false) {}
void ResizeObserverController::addObserver(ResizeObserver& observer) {
- m_observers.add(&observer);
+ m_observers.insert(&observer);
}
size_t ResizeObserverController::gatherObservations(size_t deeperThan) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698