diff options
Diffstat (limited to 'Source/WebCore/page/FrameView.cpp')
-rw-r--r-- | Source/WebCore/page/FrameView.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/page/FrameView.cpp b/Source/WebCore/page/FrameView.cpp index ee6bd6b..49a7d0c 100644 --- a/Source/WebCore/page/FrameView.cpp +++ b/Source/WebCore/page/FrameView.cpp @@ -652,6 +652,12 @@ bool FrameView::syncCompositingStateForThisFrame() // the fullScreenRenderer's graphicsLayer here: Document* document = m_frame->document(); if (isDocumentRunningFullScreenAnimation(document)) { +#if PLATFORM(ANDROID) + // We don't create an extra layer for the full screen video. + if (!document->fullScreenRenderer()->layer() + || !document->fullScreenRenderer()->layer()->backing()) + return true; +#endif RenderLayerBacking* backing = document->fullScreenRenderer()->layer()->backing(); if (GraphicsLayer* fullScreenLayer = backing->graphicsLayer()) fullScreenLayer->syncCompositingState(); |