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

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

Issue 2693433002: Migrate WTF::HashMap::add() to ::insert() [final] (Closed)
Patch Set: more platform-specific references 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 5fd9bd0d3af4ae033c896cbf52d84cb278744b77..ff807a4ab1e6fecb585ba09fd49f6d8029ed3811 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
@@ -218,7 +218,7 @@ void ScrollbarThemeMac::registerScrollbar(ScrollbarThemeClient& scrollbar) {
[[BlinkScrollbarObserver alloc] initWithScrollbar:&scrollbar
painter:scrollbarPainter]);
- scrollbarPainterMap().add(&scrollbar, observer);
+ scrollbarPainterMap().insert(&scrollbar, observer);
updateEnabledState(scrollbar);
updateScrollbarOverlayColorTheme(scrollbar);
}

Powered by Google App Engine
This is Rietveld 408576698