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

Unified Diff: third_party/WebKit/Source/core/page/Page.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/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 1cfac486291854a2ecb640e165ef85acc5fc1ec8..6557e08891bf42e14e4b9151a32a90e3ea62c8ad 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -105,7 +105,7 @@ float deviceScaleFactor(LocalFrame* frame) {
Page* Page::createOrdinary(PageClients& pageClients) {
Page* page = create(pageClients);
- ordinaryPages().add(page);
+ ordinaryPages().insert(page);
if (ScopedPageSuspender::isActive())
page->setSuspended(true);
return page;
@@ -139,7 +139,7 @@ Page::Page(PageClients& pageClients)
ASSERT(m_editorClient);
ASSERT(!allPages().contains(this));
- allPages().add(this);
+ allPages().insert(this);
}
Page::~Page() {

Powered by Google App Engine
This is Rietveld 408576698