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

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

Issue 2397113002: Move content up to KeyframeEffectReadOnly (Closed)
Patch Set: Created 4 years, 2 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/AnimationStack.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationStack.cpp b/third_party/WebKit/Source/core/animation/AnimationStack.cpp
index 83b11e62ebfa4e0b8f8582c1af1d1bcc87e8fa4f..d09f93ee18b32fa5767b4e528ca11214713d7dcf 100644
--- a/third_party/WebKit/Source/core/animation/AnimationStack.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationStack.cpp
@@ -163,7 +163,7 @@ bool AnimationStack::getAnimatedBoundingBox(FloatBox& box,
for (const auto& sampledEffect : m_sampledEffects) {
if (sampledEffect->effect() &&
sampledEffect->effect()->affects(PropertyHandle(property))) {
- KeyframeEffect* effect = sampledEffect->effect();
+ KeyframeEffectReadOnly* effect = sampledEffect->effect();
const Timing& timing = effect->specifiedTiming();
double startRange = 0;
double endRange = 1;

Powered by Google App Engine
This is Rietveld 408576698