| 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 1d06947fc69d72853ae6acd9808d0b59c6ff477e..bee74243eeaedcbf3b589411c06c3441a301b618 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1203,6 +1203,10 @@ void CompositedLayerMapping::updateDrawsContent()
|
| // m_scrollingContentsLayer only needs backing store if the scrolled contents need to paint.
|
| m_scrollingContentsAreEmpty = !m_owningLayer.hasVisibleContent() || !(layoutObject()->hasBackground() || layoutObject()->hasBackdropFilter() || paintsChildren());
|
| m_scrollingContentsLayer->setDrawsContent(!m_scrollingContentsAreEmpty);
|
| + m_graphicsLayer->setCanUseClientCacheStatus(false);
|
| + m_scrollingContentsLayer->setCanUseClientCacheStatus(true);
|
| + } else {
|
| + m_graphicsLayer->setCanUseClientCacheStatus(true);
|
| }
|
|
|
| if (hasPaintedContent && isAcceleratedCanvas(layoutObject())) {
|
|
|