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

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

Issue 2236583003: Rename AnimationEffect to AnimationEffectReadOnly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@deprecated-assert
Patch Set: Rebase Created 4 years, 4 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/InertEffect.h
diff --git a/third_party/WebKit/Source/core/animation/InertEffect.h b/third_party/WebKit/Source/core/animation/InertEffect.h
index eaf923ef69aecac98b0f4c2bf6c86658498cd701..adec2b2281cb9e410350b77d390ea81d78aa85d4 100644
--- a/third_party/WebKit/Source/core/animation/InertEffect.h
+++ b/third_party/WebKit/Source/core/animation/InertEffect.h
@@ -32,7 +32,7 @@
#define InertEffect_h
#include "core/CoreExport.h"
-#include "core/animation/AnimationEffect.h"
+#include "core/animation/AnimationEffectReadOnly.h"
#include "core/animation/EffectModel.h"
#include "wtf/RefPtr.h"
@@ -40,7 +40,7 @@ namespace blink {
// Lightweight subset of KeyframeEffect.
// Used to transport data for deferred KeyframeEffect construction and one off Interpolation sampling.
-class CORE_EXPORT InertEffect final : public AnimationEffect {
+class CORE_EXPORT InertEffect final : public AnimationEffectReadOnly {
public:
static InertEffect* create(EffectModel*, const Timing&, bool paused, double inheritedTime);
void sample(Vector<RefPtr<Interpolation>>&) const;
@@ -62,7 +62,7 @@ private:
double m_inheritedTime;
};
-DEFINE_TYPE_CASTS(InertEffect, AnimationEffect, animationEffect, animationEffect->isInertEffect(), animationEffect.isInertEffect());
+DEFINE_TYPE_CASTS(InertEffect, AnimationEffectReadOnly, animationEffect, animationEffect->isInertEffect(), animationEffect.isInertEffect());
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698