Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Unified Diff: Source/core/frame/FrameViewAutoSizeInfo.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698