| 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 545dfa30fe601b29f2c50c7a4b3c09e1ceee30d3..77c19b8e5f48e77ee6c168f2856140b14bcfb638 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -35,7 +35,6 @@
|
| #include "core/html/HTMLCanvasElement.h"
|
| #include "core/html/HTMLIFrameElement.h"
|
| #include "core/html/HTMLMediaElement.h"
|
| -#include "core/html/HTMLVideoElement.h"
|
| #include "core/html/canvas/CanvasRenderingContext.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/layout/LayoutEmbeddedObject.h"
|
| @@ -767,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);
|
|
|