Index: Source/core/layout/LayerScrollableArea.h |
diff --git a/Source/core/layout/LayerScrollableArea.h b/Source/core/layout/LayerScrollableArea.h |
index ed27e872c984acf551c46d0b929b4ce939a7a9ee..24d3f50a201002c1d4f3811194e2e5a956e2d2a4 100644 |
--- a/Source/core/layout/LayerScrollableArea.h |
+++ b/Source/core/layout/LayerScrollableArea.h |
@@ -44,10 +44,8 @@ |
#ifndef LayerScrollableArea_h |
#define LayerScrollableArea_h |
- |
#include "core/layout/LayerFragment.h" |
-#include "core/rendering/RenderBox.h" |
- |
+#include "core/layout/LayoutBox.h" |
#include "platform/scroll/ScrollableArea.h" |
namespace blink { |
@@ -58,7 +56,7 @@ enum ResizerHitTestType { |
}; |
class PlatformEvent; |
-class RenderBox; |
+class LayoutBox; |
class Layer; |
class LayoutScrollbarPart; |
@@ -66,7 +64,7 @@ class LayerScrollableArea final : public ScrollableArea { |
friend class Internals; |
public: |
- // FIXME: We should pass in the RenderBox but this opens a window |
+ // FIXME: We should pass in the LayoutBox but this opens a window |
// for crashers during Layer setup (see crbug.com/368062). |
LayerScrollableArea(Layer&); |
virtual ~LayerScrollableArea(); |
@@ -207,7 +205,7 @@ public: |
IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; |
- RenderBox& box() const; |
+ LayoutBox& box() const; |
Layer* layer() const; |
LayoutScrollbarPart* resizer() { return m_resizer; } |