| Index: Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| diff --git a/Source/core/frame/FrameViewAutoSizeInfo.cpp b/Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| index 513937325ab168f8f49e55602a43132896495e34..610c8eccd5792016526b4bb685a0577b006e7a1e 100644
|
| --- a/Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| +++ b/Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| -#include "core/rendering/RenderBox.h"
|
| +#include "core/layout/LayoutBox.h"
|
| #include "core/rendering/RenderView.h"
|
|
|
| namespace blink {
|
| @@ -75,11 +75,11 @@ void FrameViewAutoSizeInfo::autoSizeIfNeeded()
|
|
|
| int width = renderView->minPreferredLogicalWidth();
|
|
|
| - RenderBox* documentRenderBox = documentElement->renderBox();
|
| - if (!documentRenderBox)
|
| + LayoutBox* documentLayoutBox = documentElement->layoutBox();
|
| + if (!documentLayoutBox)
|
| return;
|
|
|
| - int height = documentRenderBox->scrollHeight();
|
| + int height = documentLayoutBox->scrollHeight();
|
| IntSize newSize(width, height);
|
|
|
| // Check to see if a scrollbar is needed for a given dimension and
|
|
|