| 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 9b875d2cff7c21b68db1c33c6a2a850cf86571eb..2e3c5ea3b9c2d8d789f3e60ad79bf028321655a7 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -766,11 +766,7 @@ void CompositedLayerMapping::updateMainGraphicsLayerGeometry(const IntRect& rela
|
| // descendants. So, the visibility flag for m_graphicsLayer should be true if there are any
|
| // non-compositing visible layers.
|
| bool contentsVisible = m_owningLayer.hasVisibleContent() || hasVisibleNonCompositingDescendant(&m_owningLayer);
|
| - if (layoutObject()->isVideo()) {
|
| - HTMLVideoElement* videoElement = toHTMLVideoElement(layoutObject()->node());
|
| - if (videoElement->isFullscreen() && videoElement->usesOverlayFullscreenVideo())
|
| - contentsVisible = false;
|
| - }
|
| +
|
| m_graphicsLayer->setContentsVisible(contentsVisible);
|
|
|
| m_graphicsLayer->setBackfaceVisibility(layoutObject()->style()->backfaceVisibility() == BackfaceVisibilityVisible);
|
|
|