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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.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/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index 144633cb36b4defe52d6961fdc5144f94d550701..02ae092dec91d412107fcdbfc4c9d7253568aa4a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -1004,7 +1004,7 @@ LayoutSize LayoutBoxModelObject::stickyPositionOffset() const {
if (!scrollableArea->stickyConstraintsMap().contains(layer()))
return LayoutSize();
return LayoutSize(
- scrollableArea->stickyConstraintsMap().get(layer()).computeStickyOffset(
+ scrollableArea->stickyConstraintsMap().at(layer()).computeStickyOffset(
constrainingRect));
}
@@ -1117,7 +1117,7 @@ LayoutUnit LayoutBoxModelObject::containingBlockLogicalWidthForContent() const {
}
LayoutBoxModelObject* LayoutBoxModelObject::continuation() const {
- return (!continuationMap) ? nullptr : continuationMap->get(this);
+ return (!continuationMap) ? nullptr : continuationMap->at(this);
}
void LayoutBoxModelObject::setContinuation(LayoutBoxModelObject* continuation) {

Powered by Google App Engine
This is Rietveld 408576698