Index: Source/core/rendering/RenderLayer.h |
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h |
index afcfb9c5d162e1218508025e3ead04511bba658e..10664284379c1adaebc8403faa2cab8240f69c02 100644 |
--- a/Source/core/rendering/RenderLayer.h |
+++ b/Source/core/rendering/RenderLayer.h |
@@ -364,6 +364,7 @@ public: |
bool needsCompositingLayersRebuiltForClip(const RenderStyle* oldStyle, const RenderStyle* newStyle) const; |
bool needsCompositingLayersRebuiltForOverflow(const RenderStyle* oldStyle, const RenderStyle* newStyle) const; |
bool needsCompositingLayersRebuiltForFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle, bool didPaintWithFilters) const; |
+ bool needsCompositingLayersRebuiltForBlending(const RenderStyle* oldStyle, const RenderStyle* newStyle) const; |
bool paintsWithTransparency(PaintBehavior paintBehavior) const |
{ |
@@ -601,6 +602,9 @@ private: |
bool hasNonCompositedChild() const { return m_compositingProperties.hasNonCompositedChild; } |
void setHasNonCompositedChild(bool b) { m_compositingProperties.hasNonCompositedChild = b; } |
+ bool shouldIsolateCompositedDescendants() const { return m_compositingProperties.shouldIsolateCompositedDescendants; } |
+ void setShouldIsolateCompositedDescendants(bool b) { m_compositingProperties.shouldIsolateCompositedDescendants = b; } |
+ |
void setCompositingReasons(CompositingReasons reasons) { m_compositingProperties.compositingReasons = reasons; } |
CompositingReasons compositingReasons() const { return m_compositingProperties.compositingReasons; } |
@@ -693,6 +697,7 @@ protected: |
CompositingProperties() |
: hasCompositingDescendant(false) |
, hasNonCompositedChild(false) |
+ , shouldIsolateCompositedDescendants(false) |
, viewportConstrainedNotCompositedReason(NoNotCompositedReason) |
, compositingReasons(CompositingReasonNone) |
{ } |
@@ -704,6 +709,9 @@ protected: |
// as opposed to the tree formed by the z-order and normal flow lists). |
bool hasNonCompositedChild : 1; |
+ // Should be for stacking contexts having unisolated blending descendants. |
+ bool shouldIsolateCompositedDescendants : 1; |
+ |
// The reason, if any exists, that a fixed-position layer is chosen not to be composited. |
unsigned viewportConstrainedNotCompositedReason : 2; |