Index: sky/engine/core/rendering/RenderObject.h |
diff --git a/sky/engine/core/rendering/RenderObject.h b/sky/engine/core/rendering/RenderObject.h |
index 6bd497a36238c1b525c24446f097384374037277..b1b6955d0497bad3a0fb03c4ffad636fb3e71063 100644 |
--- a/sky/engine/core/rendering/RenderObject.h |
+++ b/sky/engine/core/rendering/RenderObject.h |
@@ -35,7 +35,6 @@ |
#include "sky/engine/core/rendering/HitTestRequest.h" |
#include "sky/engine/core/rendering/PaintPhase.h" |
#include "sky/engine/core/rendering/RenderObjectChildList.h" |
-#include "sky/engine/core/rendering/ScrollAlignment.h" |
#include "sky/engine/core/rendering/SubtreeLayoutScope.h" |
#include "sky/engine/core/rendering/style/RenderStyle.h" |
#include "sky/engine/core/rendering/style/StyleInheritedData.h" |
@@ -180,15 +179,10 @@ public: |
void moveLayers(RenderLayer* oldParent, RenderLayer* newParent); |
RenderLayer* findNextLayer(RenderLayer* parentLayer, RenderObject* startPoint, bool checkParent = true); |
- // Scrolling is a RenderBox concept, however some code just cares about recursively scrolling our enclosing ScrollableArea(s). |
- bool scrollRectToVisible(const LayoutRect&, const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded, const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded); |
- |
// Convenience function for getting to the nearest enclosing box of a RenderObject. |
RenderBox* enclosingBox() const; |
RenderBoxModelObject* enclosingBoxModelObject() const; |
- RenderBox* enclosingScrollableBox() const; |
- |
#if ENABLE(ASSERT) |
// Helper class forbidding calls to setNeedsLayout() during its lifetime. |
class SetLayoutNeededForbiddenScope { |