| Index: sky/engine/core/frame/LocalDOMWindow.cpp
|
| diff --git a/sky/engine/core/frame/LocalDOMWindow.cpp b/sky/engine/core/frame/LocalDOMWindow.cpp
|
| index a5df018be0785013d00acc8dc079335654c9f5b5..60b198bb7d1aa6117cc07d41028ad2ace0a47566 100644
|
| --- a/sky/engine/core/frame/LocalDOMWindow.cpp
|
| +++ b/sky/engine/core/frame/LocalDOMWindow.cpp
|
| @@ -480,7 +480,7 @@ int LocalDOMWindow::innerHeight() const
|
| if (!view)
|
| return 0;
|
|
|
| - return view->visibleContentRect(IncludeScrollbars).height();
|
| + return view->visibleContentRect().height();
|
| }
|
|
|
| int LocalDOMWindow::innerWidth() const
|
| @@ -492,7 +492,7 @@ int LocalDOMWindow::innerWidth() const
|
| if (!view)
|
| return 0;
|
|
|
| - return view->visibleContentRect(IncludeScrollbars).width();
|
| + return view->visibleContentRect().width();
|
| }
|
|
|
| int LocalDOMWindow::screenX() const
|
|
|