| Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| index 7e8f2d7cc5cb804a9223ceafe91e357213d5585d..93cb1049042d5770ec013cbe7b1509472dd0652f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -402,9 +402,9 @@ void LayoutInline::splitInlines(LayoutBlockFlow* fromBlock,
|
| // not its parent. Since the splitting logic expects |this| to be the parent,
|
| // set |beforeChild| to be the LayoutFullScreen.
|
| if (Fullscreen* fullscreen = Fullscreen::fromIfExists(document())) {
|
| - const Element* fullScreenElement = fullscreen->currentFullScreenElement();
|
| - if (fullScreenElement && beforeChild &&
|
| - beforeChild->node() == fullScreenElement)
|
| + const Element* fullscreenElement = fullscreen->fullscreenElement();
|
| + if (fullscreenElement && beforeChild &&
|
| + beforeChild->node() == fullscreenElement)
|
| beforeChild = fullscreen->fullScreenLayoutObject();
|
| }
|
|
|
|
|