Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 92b66c90f7ff302682fc13bc8b6d3c7cbb2375a1..d977e9bfc60bdcfca01b88e93a6b1db13bb0794e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1677,6 +1677,17 @@ private: |
static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUnit::max(), LayoutUnit::max()); } |
+ // This stores the position in the paint invalidation backing's coordinate. |
+ // It is used to detect layoutObject shifts that forces a full invalidation. |
+ // This point does *not* account for composited scrolling. See adjustInvalidationRectForCompositedScrolling(). |
+ // For slimmingPaintInvalidation, this stores the previous paint offset. |
+ // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable slimmingPaintInvalidation. |
+ LayoutPoint m_previousPositionFromPaintInvalidationBacking; |
+ |
+ // This stores the paint invalidation rect from the previous frame. This rect does *not* account for composited scrolling. See |
+ // adjustInvalidationRectForCompositedScrolling(). |
+ LayoutRect m_previousPaintInvalidationRect; |
+ |
RefPtr<ComputedStyle> m_style; |
// Oilpan: This untraced pointer to the owning Node is considered safe. |
@@ -1956,19 +1967,6 @@ private: |
private: |
// Store state between styleWillChange and styleDidChange |
static bool s_affectsParentBlock; |
- |
- // This stores the paint invalidation rect from the previous frame. This rect does *not* account for composited scrolling. See |
- // adjustInvalidationRectForCompositedScrolling(). |
- LayoutRect m_previousPaintInvalidationRect; |
- |
- // This stores the position in the paint invalidation backing's coordinate. |
- // It is used to detect layoutObject shifts that forces a full invalidation. |
- // This point does *not* account for composited scrolling. See adjustInvalidationRectForCompositedScrolling(). |
- // For slimmingPaintInvalidation, this stores the previous paint offset. |
- // TODO(wangxianzhu): Rename this to m_previousPaintOffset when we enable slimmingPaintInvalidation. |
- LayoutPoint m_previousPositionFromPaintInvalidationBacking; |
- |
- DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION |
}; |
// FIXME: remove this once the layout object lifecycle ASSERTS are no longer hit. |