| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| index 5f441befd71e298a10e2d1941b88b298653d3530..fa7ad4dfcc771dfd9a723a580bc71004b5fb1c52 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -1096,7 +1096,7 @@ void PaintLayerScrollableArea::updateScrollCornerStyle()
|
| RefPtr<ComputedStyle> corner = box().hasOverflowClip() ? actualLayoutObject.getUncachedPseudoStyle(PseudoStyleRequest(PseudoIdScrollbarCorner), actualLayoutObject.style()) : PassRefPtr<ComputedStyle>(nullptr);
|
| if (corner) {
|
| if (!m_scrollCorner) {
|
| - m_scrollCorner = LayoutScrollbarPart::createAnonymous(&box().document());
|
| + m_scrollCorner = LayoutScrollbarPart::createAnonymous(&box().document(), this);
|
| m_scrollCorner->setDangerousOneWayParent(&box());
|
| }
|
| m_scrollCorner->setStyleWithWritingModeOfParent(corner.release());
|
| @@ -1224,7 +1224,7 @@ void PaintLayerScrollableArea::updateResizerStyle()
|
| RefPtr<ComputedStyle> resizer = box().hasOverflowClip() ? actualLayoutObject.getUncachedPseudoStyle(PseudoStyleRequest(PseudoIdResizer), actualLayoutObject.style()) : PassRefPtr<ComputedStyle>(nullptr);
|
| if (resizer) {
|
| if (!m_resizer) {
|
| - m_resizer = LayoutScrollbarPart::createAnonymous(&box().document());
|
| + m_resizer = LayoutScrollbarPart::createAnonymous(&box().document(), this);
|
| m_resizer->setDangerousOneWayParent(&box());
|
| }
|
| m_resizer->setStyleWithWritingModeOfParent(resizer.release());
|
|
|