| Index: Source/core/layout/LayerScrollableArea.cpp
|
| diff --git a/Source/core/layout/LayerScrollableArea.cpp b/Source/core/layout/LayerScrollableArea.cpp
|
| index 63e2cd4ee581816ab496c3758fdf0bab31bc07ed..44f874f309ad6a9bcaf31b50d2d43a52bd3f1c9a 100644
|
| --- a/Source/core/layout/LayerScrollableArea.cpp
|
| +++ b/Source/core/layout/LayerScrollableArea.cpp
|
| @@ -893,7 +893,7 @@ static inline LayoutObject* rendererForScrollbar(LayoutObject& renderer)
|
| {
|
| if (Node* node = renderer.node()) {
|
| if (ShadowRoot* shadowRoot = node->containingShadowRoot()) {
|
| - if (shadowRoot->type() == ShadowRoot::UserAgentShadowRoot)
|
| + if (shadowRoot->type() == ShadowRoot::ClosedShadowRoot)
|
| return shadowRoot->host()->renderer();
|
| }
|
| }
|
|
|