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

Side by Side Diff: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h

Issue 2164233002: Use-count when SMIL animation renders a frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@smil-use-counters
Patch Set: Created 4 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 double m_beginTime; 120 double m_beginTime;
121 double m_pauseTime; 121 double m_pauseTime;
122 double m_resumeTime; 122 double m_resumeTime;
123 double m_accumulatedActiveTime; 123 double m_accumulatedActiveTime;
124 double m_presetStartTime; 124 double m_presetStartTime;
125 125
126 FrameSchedulingState m_frameSchedulingState; 126 FrameSchedulingState m_frameSchedulingState;
127 bool m_documentOrderIndexesDirty; 127 bool m_documentOrderIndexesDirty;
128 128
129 bool m_hasUpdatedAnimation;
130
129 Timer<SMILTimeContainer> m_wakeupTimer; 131 Timer<SMILTimeContainer> m_wakeupTimer;
130 Timer<SMILTimeContainer> m_animationPolicyOnceTimer; 132 Timer<SMILTimeContainer> m_animationPolicyOnceTimer;
131 133
132 using ElementAttributePair = std::pair<WeakMember<SVGElement>, QualifiedName >; 134 using ElementAttributePair = std::pair<WeakMember<SVGElement>, QualifiedName >;
133 using AnimationsLinkedHashSet = HeapLinkedHashSet<WeakMember<SVGSMILElement> >; 135 using AnimationsLinkedHashSet = HeapLinkedHashSet<WeakMember<SVGSMILElement> >;
134 using GroupedAnimationsMap = HeapHashMap<ElementAttributePair, Member<Animat ionsLinkedHashSet>>; 136 using GroupedAnimationsMap = HeapHashMap<ElementAttributePair, Member<Animat ionsLinkedHashSet>>;
135 GroupedAnimationsMap m_scheduledAnimations; 137 GroupedAnimationsMap m_scheduledAnimations;
136 138
137 Member<SVGSVGElement> m_ownerSVGElement; 139 Member<SVGSVGElement> m_ownerSVGElement;
138 140
139 #if ENABLE(ASSERT) 141 #if ENABLE(ASSERT)
140 bool m_preventScheduledAnimationsChanges; 142 bool m_preventScheduledAnimationsChanges;
141 #endif 143 #endif
142 }; 144 };
143 } // namespace blink 145 } // namespace blink
144 146
145 #endif // SMILTimeContainer_h 147 #endif // SMILTimeContainer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698