Index: Source/core/rendering/RenderLayerScrollableArea.cpp |
diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp |
index 1ce4940b3cb30b0fcb5555a8dabad331be8a10e9..149006a65291fca38e147bc2b6a117b578e8a95a 100644 |
--- a/Source/core/rendering/RenderLayerScrollableArea.cpp |
+++ b/Source/core/rendering/RenderLayerScrollableArea.cpp |
@@ -49,7 +49,6 @@ |
#include "core/editing/FrameSelection.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/LocalFrame.h" |
-#include "core/frame/Settings.h" |
#include "core/html/HTMLFrameOwnerElement.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/inspector/InspectorTraceEvents.h" |
@@ -479,20 +478,6 @@ IntPoint RenderLayerScrollableArea::lastKnownMousePosition() const |
return box().frame() ? box().frame()->eventHandler().lastKnownMousePosition() : IntPoint(); |
} |
-bool RenderLayerScrollableArea::scrollAnimatorEnabled() const |
-{ |
- return box().frame()->settings() && box().frame()->settings()->scrollAnimatorEnabled(); |
-} |
- |
-bool RenderLayerScrollableArea::scheduleAnimation() |
-{ |
- if (HostWindow* window = box().frameView()->hostWindow()) { |
- window->scheduleAnimation(); |
- return true; |
- } |
- return false; |
-} |
- |
bool RenderLayerScrollableArea::shouldSuspendScrollAnimations() const |
{ |
RenderView* view = box().view(); |