Index: Source/core/style/ComputedStyle.cpp |
diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp |
index d240465c8e5c34b9c1efbbed9a847d8b5127c66f..5ee956de7ea7e9ea4c5070d1514b1466d00e9f4f 100644 |
--- a/Source/core/style/ComputedStyle.cpp |
+++ b/Source/core/style/ComputedStyle.cpp |
@@ -128,6 +128,7 @@ ALWAYS_INLINE ComputedStyle::ComputedStyle(InitialStyleTag) |
rareNonInheritedData.access()->m_transform.init(); |
rareNonInheritedData.access()->m_willChange.init(); |
rareNonInheritedData.access()->m_filter.init(); |
+ rareNonInheritedData.access()->m_backdropFilter.init(); |
rareNonInheritedData.access()->m_grid.init(); |
rareNonInheritedData.access()->m_gridItem.init(); |
rareNonInheritedData.access()->m_scrollSnap.init(); |
@@ -734,6 +735,9 @@ void ComputedStyle::updatePropertySpecificDifferences(const ComputedStyle& other |
if (rareNonInheritedData->m_filter != other.rareNonInheritedData->m_filter) |
diff.setFilterChanged(); |
+ |
+ if (rareNonInheritedData->m_backdropFilter != other.rareNonInheritedData->m_backdropFilter) |
+ diff.setBackdropFilterChanged(); |
} |
if (!diff.needsPaintInvalidation()) { |
@@ -1682,6 +1686,12 @@ const FilterOperations& ComputedStyle::initialFilter() |
DEFINE_STATIC_LOCAL(Persistent<FilterOperationsWrapper>, ops, (FilterOperationsWrapper::create())); |
return ops->operations(); |
} |
+ |
+const FilterOperations& ComputedStyle::initialBackdropFilter() |
+{ |
+ DEFINE_STATIC_LOCAL(Persistent<FilterOperationsWrapper>, ops, (FilterOperationsWrapper::create())); |
+ return ops->operations(); |
+} |
#endif |
LayoutRectOutsets ComputedStyle::imageOutsets(const NinePieceImage& image) const |