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

Unified Diff: Source/core/rendering/RenderLayerScrollableArea.cpp

Issue 343663003: Revert "Enable Scroll Animation for RenderLayerScrollableArea" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix compile error in PageAnimator Created 6 years, 6 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/rendering/RenderLayerScrollableArea.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/rendering/RenderLayerScrollableArea.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698