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

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

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: Source/core/animation/ImageStyleInterpolation.cpp
diff --git a/Source/core/animation/ImageStyleInterpolation.cpp b/Source/core/animation/ImageStyleInterpolation.cpp
index 29fd2a5373a797cc7ca8b387bd3398c27c1cebb1..38e37eaa98496d64e856507de9e07fde7e310df2 100644
--- a/Source/core/animation/ImageStyleInterpolation.cpp
+++ b/Source/core/animation/ImageStyleInterpolation.cpp
@@ -26,7 +26,7 @@ void ImageStyleInterpolation::apply(StyleResolverState& state) const
StyleBuilder::applyProperty(m_id, state, m_finalImage.get());
return;
}
- RefPtrWillBeRawPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(m_initialImage, m_finalImage);
+ RefPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(m_initialImage, m_finalImage);
crossfadeValue->setPercentage(CSSPrimitiveValue::create(cachedValue, CSSPrimitiveValue::UnitType::Number));
StyleBuilder::applyProperty(m_id, state, crossfadeValue.get());
@@ -34,8 +34,6 @@ void ImageStyleInterpolation::apply(StyleResolverState& state) const
DEFINE_TRACE(ImageStyleInterpolation)
{
- visitor->trace(m_initialImage);
- visitor->trace(m_finalImage);
StyleInterpolation::trace(visitor);
}
« no previous file with comments | « Source/core/animation/ImageStyleInterpolation.h ('k') | Source/core/animation/LengthBoxStyleInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698