Index: third_party/WebKit/Source/core/style/ComputedStyle.h |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h |
index 26f7320010e555eb7f9e02b38971f02276784a07..268febfdfc42389eea5a155541ddbbff646aa092 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -417,6 +417,7 @@ public: |
bool hasMarginAfterQuirk() const { return marginAfter().quirk(); } |
bool hasBackgroundImage() const { return m_background->background().hasImage(); } |
+ bool hasBackgroundImageOrBackdropFilter() const { return hasBackgroundImage() || hasBackdropFilter(); } |
bool hasFixedBackgroundImage() const { return m_background->background().hasFixedImage(); } |
bool hasEntirelyFixedBackground() const; |
@@ -437,7 +438,7 @@ public: |
Color color = visitedDependentColor(CSSPropertyBackgroundColor); |
if (color.alpha()) |
return true; |
- return hasBackgroundImage(); |
+ return hasBackgroundImageOrBackdropFilter(); |
pdr.
2016/01/27 05:52:09
Is this tested? This was my concern in the previou
jaydasika
2016/01/27 23:59:42
Ah, I see your point. I think we should have a sep
|
} |
LayoutRectOutsets imageOutsets(const NinePieceImage&) const; |