| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index 68195ca6945f7ab995c9e90e31483c5c4f7f5c71..c2158d28d9d9a71a9407f391ab7697f546d48b86 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1228,7 +1228,7 @@ void CompositedLayerMapping::updateDrawsContent()
|
| if (m_scrollingLayer) {
|
| // m_scrollingLayer never has backing store.
|
| // m_scrollingContentsLayer only needs backing store if the scrolled contents need to paint.
|
| - m_scrollingContentsAreEmpty = !m_owningLayer.hasVisibleContent() || !(layoutObject()->hasBackground() || layoutObject()->hasBackdropFilter() || paintsChildren());
|
| + m_scrollingContentsAreEmpty = !m_owningLayer.hasVisibleContent() || !(layoutObject()->styleRef().hasBackground() || layoutObject()->hasBackdropFilter() || paintsChildren());
|
| m_scrollingContentsLayer->setDrawsContent(!m_scrollingContentsAreEmpty);
|
| }
|
|
|
|
|