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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectModel.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/animation/KeyframeEffectModel.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
index 01910a4a9b3acdf8f793ec6f8ab2a2d0fb1420f7..5902f5a403b3288cc9d3e81b4434de8aefb80f86 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp
@@ -93,7 +93,7 @@ bool KeyframeEffectModelBase::snapshotNeutralCompositorKeyframes(
if (CSSPropertyEquality::propertiesEqual(property, oldStyle, newStyle))
continue;
PropertySpecificKeyframeGroup* keyframeGroup =
- m_keyframeGroups->get(PropertyHandle(property));
+ m_keyframeGroups->at(PropertyHandle(property));
if (!keyframeGroup)
continue;
for (auto& keyframe : keyframeGroup->m_keyframes) {
@@ -115,7 +115,7 @@ bool KeyframeEffectModelBase::snapshotAllCompositorKeyframes(
ensureKeyframeGroups();
for (CSSPropertyID property : CompositorAnimations::compositableProperties) {
PropertySpecificKeyframeGroup* keyframeGroup =
- m_keyframeGroups->get(PropertyHandle(property));
+ m_keyframeGroups->at(PropertyHandle(property));
if (!keyframeGroup)
continue;
for (auto& keyframe : keyframeGroup->m_keyframes) {

Powered by Google App Engine
This is Rietveld 408576698