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

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

Issue 1701813002: Make Keyframe::PropertySpecificKeyframes RefCounted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: InvalidatableInterpolation RefPtrs 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
Index: third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp
diff --git a/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp b/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp
index 2f6b019c464261eeed37f17ac3de20733b4f7090..582b40b435929a83694dd123e57a05a16ea45f70 100644
--- a/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp
+++ b/third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp
@@ -146,8 +146,8 @@ void InvalidatableInterpolation::setFlagIfInheritUsed(InterpolationEnvironment&
return;
if (!environment.state().parentStyle())
return;
- const CSSValue* startValue = toCSSPropertySpecificKeyframe(m_startKeyframe)->value();
- const CSSValue* endValue = toCSSPropertySpecificKeyframe(m_endKeyframe)->value();
+ const CSSValue* startValue = toCSSPropertySpecificKeyframe(*m_startKeyframe).value();
+ const CSSValue* endValue = toCSSPropertySpecificKeyframe(*m_endKeyframe).value();
if ((startValue && startValue->isInheritedValue())
|| (endValue && endValue->isInheritedValue())) {
environment.state().parentStyle()->setHasExplicitlyInheritedProperties();

Powered by Google App Engine
This is Rietveld 408576698