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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index a811845a856a079bf95d7ae47d63a062fccab26f..3e55ac8a94f068e9658b455e5bfabba35bf71c2c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -1318,12 +1318,11 @@ void LayoutBox::clearOverrideContainingBlockContentLogicalHeight() {
}
LayoutUnit LayoutBox::extraInlineOffset() const {
- return gExtraInlineOffsetMap ? gExtraInlineOffsetMap->get(this)
- : LayoutUnit();
+ return gExtraInlineOffsetMap ? gExtraInlineOffsetMap->at(this) : LayoutUnit();
}
LayoutUnit LayoutBox::extraBlockOffset() const {
- return gExtraBlockOffsetMap ? gExtraBlockOffsetMap->get(this) : LayoutUnit();
+ return gExtraBlockOffsetMap ? gExtraBlockOffsetMap->at(this) : LayoutUnit();
}
void LayoutBox::setExtraInlineOffset(LayoutUnit inlineOffest) {

Powered by Google App Engine
This is Rietveld 408576698