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

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

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
Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 22a31999a0631cfd3d6b81222a611cbd7168140b..fa16b2787b844403abcfeff98d9553387bdb28a7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -3580,6 +3580,11 @@ void LayoutObject::SetIsBackgroundAttachmentFixedObject(
GetFrameView()->RemoveBackgroundAttachmentFixedObject(this);
}
+PropertyTreeState LayoutObject::ContentsProperties() const {
+ DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
+ return rare_paint_data_->ContentsProperties();
+}
+
RarePaintData& LayoutObject::EnsureRarePaintData() {
if (!rare_paint_data_)
rare_paint_data_ = WTF::MakeUnique<RarePaintData>();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698