| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| index d649037a7cd217fa4e122df63a8bcfcb876a4738..10265b8794fe1402aa55e40a486998979d4f50d1 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -170,6 +170,11 @@ static LayoutVideo* findFullscreenVideoLayoutObject(Document& document) {
|
| return nullptr;
|
| fullscreenElement = Fullscreen::fullscreenElementFrom(*contentDocument);
|
| }
|
| + // Get the current fullscreen element from the document.
|
| + // TODO(foolip): When |currentFullScreenElementFrom| is removed, this will
|
| + // become a no-op and can be removed. https://crbug.com/402421
|
| + fullscreenElement =
|
| + Fullscreen::currentFullScreenElementFrom(*contentDocument);
|
| if (!isHTMLVideoElement(fullscreenElement))
|
| return nullptr;
|
| LayoutObject* layoutObject = fullscreenElement->layoutObject();
|
|
|