| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index afbde126496ec02e8532d782134a5688b53c9714..35f5599808cc0c1fab1c7538a531cd4a905fba7e 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -651,7 +651,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);
|
| }
|
| }
|
|
|
| @@ -672,7 +672,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);
|
| }
|
| }
|
|
|
|
|