| 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 3c3c8fdd7f0d788628b74b37c19222456a469c47..ede2b7dc1074a7516f9c5500c202ed235761c7b0 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -409,9 +409,9 @@ void LayoutInline::SplitInlines(LayoutBlockFlow* from_block,
|
| // not its parent. Since the splitting logic expects |this| to be the parent,
|
| // set |beforeChild| to be the LayoutFullScreen.
|
| if (Fullscreen* fullscreen = Fullscreen::FromIfExists(GetDocument())) {
|
| - const Element* full_screen_element = fullscreen->CurrentFullScreenElement();
|
| - if (full_screen_element && before_child &&
|
| - before_child->GetNode() == full_screen_element)
|
| + const Element* fullscreen_element = fullscreen->FullscreenElement();
|
| + if (fullscreen_element && before_child &&
|
| + before_child->GetNode() == fullscreen_element)
|
| before_child = fullscreen->FullScreenLayoutObject();
|
| }
|
|
|
|
|