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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.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/svg/SVGTextLayoutEngine.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
index a66bd0b9bb778b60416ec3d205ee74e9641ad3e6..f81f7b7bcac9da0921ca442a2028ce0f3cd921c8 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
@@ -396,7 +396,7 @@ void SVGTextLayoutEngine::layoutTextOnLineOrPath(
break;
const SVGCharacterData data =
- logicalTextNode->characterDataMap().get(m_logicalCharacterOffset + 1);
+ logicalTextNode->characterDataMap().at(m_logicalCharacterOffset + 1);
// TODO(fs): Use the return value to eliminate the additional
// hash-lookup below when determining if this text box should be tagged

Powered by Google App Engine
This is Rietveld 408576698