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

Unified Diff: Source/core/page/animation/CompositeAnimation.cpp

Issue 14763003: HashTraits<RefPtr<P> >::PeekType should be raw pointer for better performance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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
« no previous file with comments | « Source/core/loader/archive/ArchiveResourceCollection.cpp ('k') | Source/core/rendering/RenderCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/animation/CompositeAnimation.cpp
diff --git a/Source/core/page/animation/CompositeAnimation.cpp b/Source/core/page/animation/CompositeAnimation.cpp
index f70d95492a45de9906e5095a5c573d0eb8162e07..8166e8d06e0ef952eec51456dfdc0ad8a35a8537 100644
--- a/Source/core/page/animation/CompositeAnimation.cpp
+++ b/Source/core/page/animation/CompositeAnimation.cpp
@@ -121,7 +121,7 @@ void CompositeAnimation::updateTransitions(RenderObject* renderer, RenderStyle*
RenderStyle* fromStyle = keyframeAnim ? keyframeAnim->unanimatedStyle() : currentStyle;
// See if there is a current transition for this prop
- ImplicitAnimation* implAnim = m_transitions.get(prop).get();
+ ImplicitAnimation* implAnim = m_transitions.get(prop);
bool equal = true;
if (implAnim) {
@@ -496,7 +496,7 @@ bool CompositeAnimation::pauseTransitionAtTime(CSSPropertyID property, double t)
if ((property < firstCSSProperty) || (property >= firstCSSProperty + numCSSProperties))
return false;
- ImplicitAnimation* implAnim = m_transitions.get(property).get();
+ ImplicitAnimation* implAnim = m_transitions.get(property);
if (!implAnim) {
// Check to see if this property is being animated via a shorthand.
// This code is only used for testing, so performance is not critical here.
« no previous file with comments | « Source/core/loader/archive/ArchiveResourceCollection.cpp ('k') | Source/core/rendering/RenderCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698