Index: Source/core/rendering/RenderLayer.h |
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h |
index bc9f93ee1e06906b94eecea0bff29faf3c0d0b6c..607dd41a5677120e57e2f43060d13c2a72cbed95 100644 |
--- a/Source/core/rendering/RenderLayer.h |
+++ b/Source/core/rendering/RenderLayer.h |
@@ -117,7 +117,16 @@ enum { |
// The root layer is a special case that may be forced to be a layer, but also it needs to be |
// a layer if anything else in the subtree is composited. |
- CompositingReasonRoot = 1 << 26 |
+ CompositingReasonRoot = 1 << 26, |
+ |
+ // RenderLayerBacking internal hierarchy reasons |
+ CompositingReasonLayerForClip = 1 << 27, |
+ CompositingReasonLayerForDescendantClip = 1 << 28, |
+ CompositingReasonLayerForScrollbar = 1 << 29, |
+ CompositingReasonLayerForScrollingContainer = 1 << 30, |
+ CompositingReasonLayerForForeground = 1 << 31 |
+ |
+ // Note: if you add more reasons here, you will need to update the WebCompositingReasons enum as well. |
}; |
typedef unsigned CompositingReasons; |