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 f0135a75a88b51a68105424606858db0048b414b..d538266bd94ed7898d2cb0069bc7f77942136a9a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1667,6 +1667,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. |
@@ -1943,19 +1954,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. |