| 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 fa83feb98e79d33f2016f7367f745020d2ef1031..89fe6a7b87d7ff195695237ad2797ff35fb182d4 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2494,7 +2494,7 @@ void LayoutObject::willBeDestroyed()
|
| ResourceLoadPriorityOptimizer::resourceLoadPriorityOptimizer()->removeLayoutObject(this);
|
|
|
| if (frameView())
|
| - setIsSlowRepaintObject(false);
|
| + setIsBackgroundAttachmentFixedObject(false);
|
| }
|
|
|
| void LayoutObject::insertedIntoTree()
|
| @@ -3396,16 +3396,16 @@ void LayoutObject::invalidatePaintIncludingNonSelfPaintingLayerDescendants(const
|
| }
|
| }
|
|
|
| -void LayoutObject::setIsSlowRepaintObject(bool isSlowRepaintObject)
|
| +void LayoutObject::setIsBackgroundAttachmentFixedObject(bool isBackgroundAttachmentFixedObject)
|
| {
|
| ASSERT(frameView());
|
| - if (m_bitfields.isSlowRepaintObject() == isSlowRepaintObject)
|
| + if (m_bitfields.isBackgroundAttachmentFixedObject() == isBackgroundAttachmentFixedObject)
|
| return;
|
| - m_bitfields.setIsSlowRepaintObject(isSlowRepaintObject);
|
| - if (isSlowRepaintObject)
|
| - frameView()->addSlowRepaintObject();
|
| + m_bitfields.setIsBackgroundAttachmentFixedObject(isBackgroundAttachmentFixedObject);
|
| + if (isBackgroundAttachmentFixedObject)
|
| + frameView()->addBackgroundAttachmentFixedObject(this);
|
| else
|
| - frameView()->removeSlowRepaintObject();
|
| + frameView()->removeBackgroundAttachmentFixedObject(this);
|
| }
|
|
|
| } // namespace blink
|
|
|