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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs 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/graphics/paint/GeometryMapper.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
index f1152386d922c205c134e28a2a6205bf1992d839..0bc912ab44ac41dd2c602c7803ef56a96ff8b5cf 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
@@ -162,7 +162,7 @@ FloatRect GeometryMapper::ancestorToLocalRect(
PrecomputedDataForAncestor& GeometryMapper::getPrecomputedDataForAncestor(
const TransformPaintPropertyNode* ancestorTransformNode) {
- auto addResult = m_data.add(ancestorTransformNode, nullptr);
+ auto addResult = m_data.insert(ancestorTransformNode, nullptr);
if (addResult.isNewEntry)
addResult.storedValue->value = PrecomputedDataForAncestor::create();
return *addResult.storedValue->value;

Powered by Google App Engine
This is Rietveld 408576698