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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationStack.h

Issue 1701853002: Code clean up: Rename SampledEffect variables to sampledEffect instead of effect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_refCountPSKs
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/AnimationStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/AnimationStack.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationStack.h b/third_party/WebKit/Source/core/animation/AnimationStack.h
index 300b190956307f53d3055148db9383274f011277..1cc6216d849f95aa3c7655b31203f7dbf5e41e21 100644
--- a/third_party/WebKit/Source/core/animation/AnimationStack.h
+++ b/third_party/WebKit/Source/core/animation/AnimationStack.h
@@ -55,8 +55,8 @@ class CORE_EXPORT AnimationStack {
public:
AnimationStack();
- void add(SampledEffect* effect) { m_effects.append(effect); }
- bool isEmpty() const { return m_effects.isEmpty(); }
+ void add(SampledEffect* sampledEffect) { m_sampledEffects.append(sampledEffect); }
+ bool isEmpty() const { return m_sampledEffects.isEmpty(); }
bool hasActiveAnimationsOnCompositor(CSSPropertyID) const;
using PropertyHandleFilter = bool (*)(const PropertyHandle&);
@@ -66,10 +66,10 @@ public:
DECLARE_TRACE();
private:
- void removeClearedEffects();
+ void removeClearedSampledEffects();
// Effects sorted by priority. Lower priority at the start of the list.
- HeapVector<Member<SampledEffect>> m_effects;
+ HeapVector<Member<SampledEffect>> m_sampledEffects;
friend class AnimationAnimationStackTest;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/AnimationStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698