Index: Source/core/rendering/style/StyleRareNonInheritedData.h |
diff --git a/Source/core/rendering/style/StyleRareNonInheritedData.h b/Source/core/rendering/style/StyleRareNonInheritedData.h |
index 781b8ce665fc711d09cc5916cd03474f4ae2932e..07c7bd365e70777056ebf3261d4e0b58d7d637fe 100644 |
--- a/Source/core/rendering/style/StyleRareNonInheritedData.h |
+++ b/Source/core/rendering/style/StyleRareNonInheritedData.h |
@@ -84,6 +84,8 @@ public: |
bool reflectionDataEquivalent(const StyleRareNonInheritedData&) const; |
bool animationDataEquivalent(const StyleRareNonInheritedData&) const; |
bool transitionDataEquivalent(const StyleRareNonInheritedData&) const; |
+ bool hasFilters() const; |
+ bool hasOpacity() const { return opacity < 1; } |
float opacity; // Whether or not we're transparent. |