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

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

Issue 2492073002: Store paint properties directly on LayoutObject (Closed)
Patch Set: rebase Created 4 years, 1 month 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 7e254c61171df44be03054f2b12ff138a82a5deb..87ea2a4ebba246a4f98d0dad57f6afb0f8a6f179 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -2380,6 +2380,10 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// paint offset change for paint invalidation on SPv2, and partial paint
// property tree update for SlimmingPaintInvalidation on SPv1 and SPv2.
LayoutPoint m_previousPaintOffset;
+
+ // For SPv2 only. The ObjectPaintProperties structure holds references to the
+ // property tree nodes that are created by the layout object for painting.
+ std::unique_ptr<ObjectPaintProperties> m_paintProperties;
};
// FIXME: remove this once the layout object lifecycle ASSERTS are no longer
« 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