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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp

Issue 1907223002: Remove unnecessary use of HeapHashMap for InspectorAnimationAgent::m_idToAnimationType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/inspector/InspectorAnimationAgent.h" 5 #include "core/inspector/InspectorAnimationAgent.h"
6 6
7 #include "core/animation/Animation.h" 7 #include "core/animation/Animation.h"
8 #include "core/animation/AnimationEffect.h" 8 #include "core/animation/AnimationEffect.h"
9 #include "core/animation/AnimationEffectTiming.h" 9 #include "core/animation/AnimationEffectTiming.h"
10 #include "core/animation/ComputedTimingProperties.h" 10 #include "core/animation/ComputedTimingProperties.h"
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 return animation.startTime() + referenceTimeline().currentTime() - anima tion.timeline()->currentTime(); 489 return animation.startTime() + referenceTimeline().currentTime() - anima tion.timeline()->currentTime();
490 return animation.startTime() + (animation.timeline()->zeroTime() - reference Timeline().zeroTime()) * 1000 * referenceTimeline().playbackRate(); 490 return animation.startTime() + (animation.timeline()->zeroTime() - reference Timeline().zeroTime()) * 1000 * referenceTimeline().playbackRate();
491 } 491 }
492 492
493 DEFINE_TRACE(InspectorAnimationAgent) 493 DEFINE_TRACE(InspectorAnimationAgent)
494 { 494 {
495 visitor->trace(m_inspectedFrames); 495 visitor->trace(m_inspectedFrames);
496 visitor->trace(m_domAgent); 496 visitor->trace(m_domAgent);
497 visitor->trace(m_cssAgent); 497 visitor->trace(m_cssAgent);
498 visitor->trace(m_idToAnimation); 498 visitor->trace(m_idToAnimation);
499 visitor->trace(m_idToAnimationType);
500 visitor->trace(m_idToAnimationClone); 499 visitor->trace(m_idToAnimationClone);
501 InspectorBaseAgent::trace(visitor); 500 InspectorBaseAgent::trace(visitor);
502 } 501 }
503 502
504 } // namespace blink 503 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698