| Index: Source/core/layout/LayoutFullScreen.cpp
|
| diff --git a/Source/core/layout/LayoutFullScreen.cpp b/Source/core/layout/LayoutFullScreen.cpp
|
| index f05f0f0d285eb291e86c65a7a230d8aa0e4b16d6..0cbf8fbc0f98f6d785004448724ad3f118c8ac46 100644
|
| --- a/Source/core/layout/LayoutFullScreen.cpp
|
| +++ b/Source/core/layout/LayoutFullScreen.cpp
|
| @@ -106,14 +106,9 @@ void LayoutFullScreen::updateStyle()
|
| fullscreenStyle->setPosition(FixedPosition);
|
| fullscreenStyle->setLeft(Length(0, blink::Fixed));
|
| fullscreenStyle->setTop(Length(0, blink::Fixed));
|
| - if (document().page()->settings().pinchVirtualViewportEnabled()) {
|
| - IntSize viewportSize = document().page()->frameHost().pinchViewport().size();
|
| - fullscreenStyle->setWidth(Length(viewportSize.width(), blink::Fixed));
|
| - fullscreenStyle->setHeight(Length(viewportSize.height(), blink::Fixed));
|
| - } else {
|
| - fullscreenStyle->setWidth(Length(100.0, Percent));
|
| - fullscreenStyle->setHeight(Length(100.0, Percent));
|
| - }
|
| + IntSize viewportSize = document().page()->frameHost().pinchViewport().size();
|
| + fullscreenStyle->setWidth(Length(viewportSize.width(), blink::Fixed));
|
| + fullscreenStyle->setHeight(Length(viewportSize.height(), blink::Fixed));
|
|
|
| fullscreenStyle->setBackgroundColor(StyleColor(Color::black));
|
|
|
|
|