| 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 06a015ef2c4a8f2bacf9372b1d4ef78b07dbd2e5..7fdf9a801ace7cc456d44d612ddbcb934588daae 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -162,20 +162,15 @@ bool PaintLayerCompositor::preferCompositingToLCDTextEnabled() const {
|
|
|
| static LayoutVideo* findFullscreenVideoLayoutObject(Document& document) {
|
| // Recursively find the document that is in fullscreen.
|
| - Element* fullscreenElement = Fullscreen::fullscreenElementFrom(document);
|
| + Element* fullscreenElement = Fullscreen::fullscreenElement(document);
|
| Document* contentDocument = &document;
|
| while (fullscreenElement && fullscreenElement->isFrameOwnerElement()) {
|
| contentDocument =
|
| toHTMLFrameOwnerElement(fullscreenElement)->contentDocument();
|
| if (!contentDocument)
|
| return nullptr;
|
| - fullscreenElement = Fullscreen::fullscreenElementFrom(*contentDocument);
|
| + fullscreenElement = Fullscreen::fullscreenElement(*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();
|
|
|