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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm

Issue 2688893002: Migrate WTF::HashSet::add() to ::insert() [continued] (Closed)
Patch Set: rebase, fix one platform-specific reference Created 3 years, 10 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/platform/scroll/ScrollbarThemeMac.mm
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
index ff807a4ab1e6fecb585ba09fd49f6d8029ed3811..991c650175da42044873dfdf4d95fe90920a54fa 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
@@ -204,7 +204,7 @@ ScrollbarPart ScrollbarThemeMac::invalidateOnThumbPositionChange(
}
void ScrollbarThemeMac::registerScrollbar(ScrollbarThemeClient& scrollbar) {
- scrollbarSet().add(&scrollbar);
+ scrollbarSet().insert(&scrollbar);
bool isHorizontal = scrollbar.orientation() == HorizontalScrollbar;
RetainPtr<ScrollbarPainter> scrollbarPainter(

Powered by Google App Engine
This is Rietveld 408576698