| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 5de0390a18066f89d4c6313834d575e3c1740414..d6ea591d49338121f87ee16d203153299af9917a 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -660,7 +660,7 @@ int Element::clientWidth()
|
| if (FrameView* view = document().view()) {
|
| if (LayoutView* layoutView = document().layoutView()) {
|
| if (document().page()->settings().forceZeroLayoutHeight())
|
| - return adjustLayoutUnitForAbsoluteZoom(view->unscaledVisibleContentSize().width(), *layoutView);
|
| + return adjustLayoutUnitForAbsoluteZoom(view->visibleContentSize().width(), *layoutView);
|
| return adjustLayoutUnitForAbsoluteZoom(view->layoutSize().width(), *layoutView);
|
| }
|
| }
|
| @@ -684,7 +684,7 @@ int Element::clientHeight()
|
| if (FrameView* view = document().view()) {
|
| if (LayoutView* layoutView = document().layoutView()) {
|
| if (document().page()->settings().forceZeroLayoutHeight())
|
| - return adjustLayoutUnitForAbsoluteZoom(view->unscaledVisibleContentSize().height(), *layoutView);
|
| + return adjustLayoutUnitForAbsoluteZoom(view->visibleContentSize().height(), *layoutView);
|
| return adjustLayoutUnitForAbsoluteZoom(view->layoutSize().height(), *layoutView);
|
| }
|
| }
|
|
|