Index: Source/core/rendering/RenderLayer.h |
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h |
index b0e5ffbd6c6cbd34717db55785cace48550097dc..d6e145b0f9f9bec0793651055787ed766e35525d 100644 |
--- a/Source/core/rendering/RenderLayer.h |
+++ b/Source/core/rendering/RenderLayer.h |
@@ -424,11 +424,12 @@ public: |
bool isInTopLayerSubtree() const; |
enum ViewportConstrainedNotCompositedReason { |
- NoNotCompositedReason, |
+ NoNotCompositedReason = 0, |
NotCompositedForBoundsOutOfView, |
NotCompositedForNonViewContainer, |
NotCompositedForNoVisibleContent, |
NotCompositedForUnscrollableAncestors, |
+ NumNotCompositedReasons |
}; |
void setViewportConstrainedNotCompositedReason(ViewportConstrainedNotCompositedReason reason) { m_compositingProperties.viewportConstrainedNotCompositedReason = reason; } |
@@ -731,7 +732,7 @@ protected: |
bool lostGroupedMapping : 1; |
// The reason, if any exists, that a fixed-position layer is chosen not to be composited. |
- unsigned viewportConstrainedNotCompositedReason : 2; |
+ unsigned viewportConstrainedNotCompositedReason : 3; |
// Once computed, indicates all that a layer needs to become composited using the CompositingReasons enum bitfield. |
CompositingReasons compositingReasons; |