Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2095013003: Changes in DisplayItemClient for spv2 paint invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698