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

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

Issue 2609803002: Use ShadowData in DropShadowFilterOperation (Closed)
Patch Set: Fix blend(...) order Created 3 years, 12 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/ShadowInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp
index b9720e6a4f806a98743fbe7171dbdeda01a581d9..9613062a1bec1460d64b7f97d1834e829bf0d265 100644
--- a/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp
@@ -146,10 +146,7 @@ InterpolationValue ShadowInterpolationFunctions::maybeConvertCSSValue(
std::unique_ptr<InterpolableValue>
ShadowInterpolationFunctions::createNeutralInterpolableValue() {
- return convertShadowData(ShadowData(FloatPoint(0, 0), 0, 0, Normal,
- StyleColor(Color::transparent)),
- 1)
- .interpolableValue;
+ return convertShadowData(ShadowData::neutralValue(), 1).interpolableValue;
}
void ShadowInterpolationFunctions::composite(

Powered by Google App Engine
This is Rietveld 408576698