| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 47c101746908ca48f96edb526ca0d5fb61dc01e8..9619880858c9fb415139934e7c143b15b8647466 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -654,7 +654,7 @@ int Element::clientWidth()
|
| || (inQuirksMode && isHTMLElement() && document().body() == this)) {
|
| if (FrameView* view = document().view()) {
|
| if (RenderView* renderView = document().renderView())
|
| - return adjustForAbsoluteZoom(view->layoutWidth(), renderView);
|
| + return adjustForAbsoluteZoom(view->layoutSize().width(), renderView);
|
| }
|
| }
|
|
|
| @@ -675,7 +675,7 @@ int Element::clientHeight()
|
| || (inQuirksMode && isHTMLElement() && document().body() == this)) {
|
| if (FrameView* view = document().view()) {
|
| if (RenderView* renderView = document().renderView())
|
| - return adjustForAbsoluteZoom(view->layoutHeight(), renderView);
|
| + return adjustForAbsoluteZoom(view->layoutSize().height(), renderView);
|
| }
|
| }
|
|
|
|
|