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

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

Issue 2812593003: Remove caching of contents paint properties (Closed)
Patch Set: Address reviewer comments Created 3 years, 8 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 40e59e2c1f409371e2f55b2c9239c439b0343f92..d1d382e325d830968c10971c48ae0237a87206c3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -413,11 +413,8 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
}
// The complete set of property nodes that should be used as a starting point
- // to paint contents of this LayoutObject. See: m_contentsProperties comment.
- const PropertyTreeState* ContentsProperties() const {
- DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
- return rare_paint_data_ ? rare_paint_data_->ContentsProperties() : nullptr;
- }
+ // to paint contents of this LayoutObject.
+ PropertyTreeState ContentsProperties() const;
private:
RarePaintData& EnsureRarePaintData();
« 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