| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 62e6410a5515047eccc3a4c7b5a594a390d8a534..7db025bea275f959b67e510aaf81b9424b6737a9 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5271,14 +5271,12 @@ IntSize Document::viewportSize() const
|
| return view()->visibleContentRect(ScrollableArea::IncludeScrollbars).size();
|
| }
|
|
|
| -#if ENABLE(CSS_DEVICE_ADAPTATION)
|
| IntSize Document::initialViewportSize() const
|
| {
|
| if (!view())
|
| return IntSize();
|
| - return view()->initialViewportSize();
|
| + return view()->unscaledVisibleContentSize(ScrollableArea::IncludeScrollbars);
|
| }
|
| -#endif
|
|
|
| Node* eventTargetNodeForDocument(Document* doc)
|
| {
|
|
|