| 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 f4b615a98126bd464e28e838a099c7a38c4dd609..0b6993ab9e04f1ce4821564ce9e4c14974c0a82c 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2539,7 +2539,7 @@ void LayoutObject::willBeDestroyed()
|
| }
|
|
|
| if (frameView())
|
| - setIsSlowRepaintObject(false);
|
| + setIsBackgroundAttachmentFixedObject(false);
|
| }
|
|
|
| void LayoutObject::insertedIntoTree()
|
| @@ -3443,16 +3443,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
|
|
|