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

Unified Diff: Source/core/animation/ImageStyleInterpolation.cpp

Issue 803863005: Oilpan: fix build after r188198. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 | « Source/core/animation/ImageStyleInterpolation.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/ImageStyleInterpolation.cpp
diff --git a/Source/core/animation/ImageStyleInterpolation.cpp b/Source/core/animation/ImageStyleInterpolation.cpp
index 8bc03e5dd5906ef026d6376c84c31504e990423e..fcf32985d7c33b0f0056ce51b35c4198083a1e12 100644
--- a/Source/core/animation/ImageStyleInterpolation.cpp
+++ b/Source/core/animation/ImageStyleInterpolation.cpp
@@ -26,9 +26,17 @@ void ImageStyleInterpolation::apply(StyleResolverState& state) const
StyleBuilder::applyProperty(m_id, state, m_finalImage.get());
return;
}
- RefPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(m_initialImage, m_finalImage);
+ RefPtrWillBeRawPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(m_initialImage, m_finalImage);
crossfadeValue->setPercentage(CSSPrimitiveValue::create(cachedValue, CSSPrimitiveValue::CSS_NUMBER));
StyleBuilder::applyProperty(m_id, state, crossfadeValue.get());
}
+
+void ImageStyleInterpolation::trace(Visitor* visitor)
+{
+ visitor->trace(m_initialImage);
+ visitor->trace(m_finalImage);
+ StyleInterpolation::trace(visitor);
}
+
+} // namespace blink
« no previous file with comments | « Source/core/animation/ImageStyleInterpolation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698