| 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 683424a848048440e1f52be02f05b514a753378a..6d8b0a2381b16c39744b9b3bbf560f0cd1512a9f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1817,6 +1817,10 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
|
| return paint_data->PaintProperties();
|
| return nullptr;
|
| }
|
| + void ClearPaintProperties() {
|
| + if (auto* paint_data = layout_object_.GetRarePaintData())
|
| + paint_data->ClearPaintProperties();
|
| + }
|
|
|
| // The following non-const functions for local border box properties should
|
| // only be called from PaintPropertyTreeBuilder.
|
|
|