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

Unified Diff: third_party/WebKit/Source/core/layout/Grid.cpp

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/Grid.cpp
diff --git a/third_party/WebKit/Source/core/layout/Grid.cpp b/third_party/WebKit/Source/core/layout/Grid.cpp
index 580e1a108e3146eb3b306f06f3ad0f49d6fe8952..1a06366ceb373dc559f290b3474048c33063abb0 100644
--- a/third_party/WebKit/Source/core/layout/Grid.cpp
+++ b/third_party/WebKit/Source/core/layout/Grid.cpp
@@ -54,7 +54,7 @@ int Grid::smallestTrackStart(GridTrackSizingDirection direction) const {
GridArea Grid::gridItemArea(const LayoutBox& item) const {
DCHECK(m_gridItemArea.contains(&item));
- return m_gridItemArea.get(&item);
+ return m_gridItemArea.at(&item);
}
void Grid::setGridItemArea(const LayoutBox& item, GridArea area) {
@@ -62,7 +62,7 @@ void Grid::setGridItemArea(const LayoutBox& item, GridArea area) {
}
size_t Grid::gridItemPaintOrder(const LayoutBox& item) const {
- return m_gridItemsIndexesMap.get(&item);
+ return m_gridItemsIndexesMap.at(&item);
}
void Grid::setGridItemPaintOrder(const LayoutBox& item, size_t order) {

Powered by Google App Engine
This is Rietveld 408576698