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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutScrollbar.h

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase 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/core/layout/LayoutScrollbar.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbar.h b/third_party/WebKit/Source/core/layout/LayoutScrollbar.h
index 005f0ad275893aef3edc935ce2f5ade37fd1c033..be6748ffe1c530395f86acf34be65655c34201f1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbar.h
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbar.h
@@ -59,10 +59,10 @@ class LayoutScrollbar final : public Scrollbar {
bool isOverlayScrollbar() const override { return false; }
LayoutScrollbarPart* getPart(ScrollbarPart partType) {
- return m_parts.get(partType);
+ return m_parts.at(partType);
}
const LayoutScrollbarPart* getPart(ScrollbarPart partType) const {
- return m_parts.get(partType);
+ return m_parts.at(partType);
}
void invalidateDisplayItemClientsOfScrollbarParts();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGrid.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698