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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.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/LayoutSVGResourcePattern.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
index 2b9e46394ba43e58cde75ffcd880997ddd85c6cb..618b11e3d3fd231ba8c7b5a9d4faaa765e42f3e8 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
@@ -75,7 +75,7 @@ PatternData* LayoutSVGResourcePattern::patternForLayoutObject(
// invalidation (painting animated images may trigger layout invals which
// delete our map entry). Hopefully that will be addressed at some point, and
// then we can optimize the lookup.
- if (PatternData* currentData = m_patternMap.get(&object))
+ if (PatternData* currentData = m_patternMap.at(&object))
return currentData;
return m_patternMap.set(&object, buildPatternData(object))

Powered by Google App Engine
This is Rietveld 408576698