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

Unified Diff: third_party/WebKit/Source/core/dom/VisitedLinkState.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/dom/VisitedLinkState.cpp
diff --git a/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp b/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
index dd0fec95c41f6c7734e4e22eba373408d6bdcdc9..c9ea5988b777b54565a341135ed0a0e0432ed4f5 100644
--- a/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
+++ b/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
@@ -129,7 +129,7 @@ EInsideLink VisitedLinkState::determineLinkStateSlowCase(
return EInsideLink::kInsideVisitedLink;
if (LinkHash hash = linkHashForElement(element, attribute)) {
- m_linksCheckedForVisitedState.add(hash);
+ m_linksCheckedForVisitedState.insert(hash);
if (Platform::current()->isLinkVisited(hash))
return EInsideLink::kInsideVisitedLink;
}

Powered by Google App Engine
This is Rietveld 408576698