| 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 cc8f300d2dbbb26735e8ffbda564a3afbac36aa1..78d02a87c11a1c59fab1f61efe381b2dd8aebd62 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2641,7 +2641,7 @@ void LayoutObject::willBeDestroyed()
|
| selectionPaintInvalidationMap->remove(this);
|
|
|
| if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| - clearObjectPaintProperties();
|
| + objectPaintPropertiesMap().remove(this);
|
|
|
| clearLayoutRootIfNeeded();
|
|
|
| @@ -3627,7 +3627,7 @@ void LayoutObject::setIsBackgroundAttachmentFixedObject(bool isBackgroundAttachm
|
| frameView()->removeBackgroundAttachmentFixedObject(this);
|
| }
|
|
|
| -ObjectPaintProperties* LayoutObject::objectPaintProperties() const
|
| +const ObjectPaintProperties* LayoutObject::objectPaintProperties() const
|
| {
|
| ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| return objectPaintPropertiesMap().get(this);
|
| @@ -3643,12 +3643,6 @@ ObjectPaintProperties& LayoutObject::ensureObjectPaintProperties()
|
| return *addResult.storedValue->value;
|
| }
|
|
|
| -void LayoutObject::clearObjectPaintProperties()
|
| -{
|
| - ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - objectPaintPropertiesMap().remove(this);
|
| -}
|
| -
|
| } // namespace blink
|
|
|
| #ifndef NDEBUG
|
|
|