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

Unified Diff: third_party/WebKit/Source/core/style/ShadowList.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
« no previous file with comments | « third_party/WebKit/Source/core/style/ShadowData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ShadowList.cpp
diff --git a/third_party/WebKit/Source/core/style/ShadowList.cpp b/third_party/WebKit/Source/core/style/ShadowList.cpp
index 9aac3a09a35c60865ae0d8537fbcf901925f7c5a..9c275ab65f02f1d19ab0001994691d29183b3122 100644
--- a/third_party/WebKit/Source/core/style/ShadowList.cpp
+++ b/third_party/WebKit/Source/core/style/ShadowList.cpp
@@ -60,9 +60,8 @@ PassRefPtr<ShadowList> ShadowList::blend(const ShadowList* from,
ShadowDataVector shadows;
- DEFINE_STATIC_LOCAL(
- ShadowData, defaultShadowData,
- (FloatPoint(), 0, 0, Normal, StyleColor(Color::transparent)));
+ DEFINE_STATIC_LOCAL(ShadowData, defaultShadowData,
+ (ShadowData::neutralValue()));
DEFINE_STATIC_LOCAL(
ShadowData, defaultInsetShadowData,
(FloatPoint(), 0, 0, Inset, StyleColor(Color::transparent)));
« no previous file with comments | « third_party/WebKit/Source/core/style/ShadowData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698