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

Unified Diff: third_party/WebKit/Source/core/layout/TextAutosizer.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/TextAutosizer.cpp
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
index 170f3dadf224cf4e0c66d7da688a5cce75b757f2..2c31ac1701fc1fb3cb84974f6bf446dc7f686a08 100644
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
@@ -1275,7 +1275,7 @@ void TextAutosizer::FingerprintMapper::assertMapsAreConsistent() {
for (BlockSet::iterator blockIt = blocks->begin(); blockIt != blocks->end();
++blockIt) {
const LayoutBlock* block = (*blockIt);
- ASSERT(m_fingerprints.get(block) == fingerprint);
+ ASSERT(m_fingerprints.at(block) == fingerprint);
}
}
}
@@ -1338,13 +1338,13 @@ bool TextAutosizer::FingerprintMapper::remove(LayoutObject* layoutObject) {
TextAutosizer::Fingerprint TextAutosizer::FingerprintMapper::get(
const LayoutObject* layoutObject) {
- return m_fingerprints.get(layoutObject);
+ return m_fingerprints.at(layoutObject);
}
TextAutosizer::BlockSet*
TextAutosizer::FingerprintMapper::getTentativeClusterRoots(
Fingerprint fingerprint) {
- return m_blocksForFingerprint.get(fingerprint);
+ return m_blocksForFingerprint.at(fingerprint);
}
TextAutosizer::LayoutScope::LayoutScope(LayoutBlock* block,

Powered by Google App Engine
This is Rietveld 408576698