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

Unified Diff: third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.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/platform/fonts/opentype/OpenTypeVerticalData.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
index 08e141b8f5c41af9809933d0a35e589d5cc1a8e4..364d44f0c277fe8e45f3facaec7dc0ad433f3c88 100644
--- a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
+++ b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeVerticalData.cpp
@@ -262,7 +262,7 @@ void OpenTypeVerticalData::getVerticalTranslationsForGlyphs(
// For Y, try VORG first.
if (useVORG) {
if (glyph) {
- int16_t vertOriginYFUnit = m_vertOriginY.get(glyph);
+ int16_t vertOriginYFUnit = m_vertOriginY.at(glyph);
if (vertOriginYFUnit) {
outXYArray[1] = -vertOriginYFUnit * sizePerUnit;
continue;

Powered by Google App Engine
This is Rietveld 408576698