Index: Source/core/rendering/RenderLayer.h |
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h |
index a404cae09d9c5144c1504949a3e72824ee821c23..9919cdf60c1da9ab1405ceef0463560feaac5499 100644 |
--- a/Source/core/rendering/RenderLayer.h |
+++ b/Source/core/rendering/RenderLayer.h |
@@ -1098,6 +1098,9 @@ private: |
bool hasCompositingDescendant() const { return m_compositingProperties.hasCompositingDescendant; } |
void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompositingDescendant = b; } |
+ bool shouldIsolateCompositedBlendingDescendants() const { return m_compositingProperties.shouldIsolateBlendingDescendants; } |
+ void setShouldIsolateCompositedBlendingDescendants(bool isolate) { m_compositingProperties.shouldIsolateBlendingDescendants = isolate; } |
+ |
void setCompositingReasons(CompositingReasons reasons) { m_compositingProperties.compositingReasons = reasons; } |
CompositingReasons compositingReasons() const { return m_compositingProperties.compositingReasons; } |
@@ -1249,12 +1252,14 @@ protected: |
struct CompositingProperties { |
CompositingProperties() |
: hasCompositingDescendant(false) |
+ , shouldIsolateBlendingDescendants(false) |
, viewportConstrainedNotCompositedReason(NoNotCompositedReason) |
, compositingReasons(CompositingReasonNone) |
{ } |
// Used only while determining what layers should be composited. Applies to the tree of z-order lists. |
bool hasCompositingDescendant : 1; |
+ bool shouldIsolateBlendingDescendants : 1; |
// The reason, if any exists, that a fixed-position layer is chosen not to be composited. |
unsigned viewportConstrainedNotCompositedReason : 2; |