Chromium Code Reviews| 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..8bf9fcaf9430c288ca6943485fbc6941ecd9c73f 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| @@ -3580,6 +3580,16 @@ void LayoutObject::SetIsBackgroundAttachmentFixedObject( |
| GetFrameView()->RemoveBackgroundAttachmentFixedObject(this); |
| } |
| +PropertyTreeState LayoutObject::ContentsProperties() const { |
| + DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()); |
| + |
| + DCHECK(rare_paint_data_ && rare_paint_data_->LocalBorderBoxProperties()); |
| + if (!rare_paint_data_) |
|
chrishtr
2017/04/10 20:50:30
Remove this.
pdr.
2017/04/10 20:56:34
Done
|
| + return PropertyTreeState::Root(); |
| + |
| + return rare_paint_data_->ContentsProperties(); |
| +} |
| + |
| RarePaintData& LayoutObject::EnsureRarePaintData() { |
| if (!rare_paint_data_) |
| rare_paint_data_ = WTF::MakeUnique<RarePaintData>(); |