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

Unified Diff: third_party/WebKit/Source/web/mac/WebScrollbarTheme.mm

Issue 1653003002: Make scrollAnimatorEnabled work on Mac like it does on other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also allow IO ML for unit tests Created 4 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
Index: third_party/WebKit/Source/web/mac/WebScrollbarTheme.mm
diff --git a/third_party/WebKit/Source/web/mac/WebScrollbarTheme.mm b/third_party/WebKit/Source/web/mac/WebScrollbarTheme.mm
index f40ecbbb582834f7f5386103ad2b95ad9cfcddbe..6751c461e5539e83a8e8f15835560b98d482eee2 100644
--- a/third_party/WebKit/Source/web/mac/WebScrollbarTheme.mm
+++ b/third_party/WebKit/Source/web/mac/WebScrollbarTheme.mm
@@ -44,7 +44,7 @@ static_assert(static_cast<NSScrollerStyle>(ScrollerStyleOverlay) == NSScrollerSt
void WebScrollbarTheme::updateScrollbarsWithNSDefaults(
float initialButtonDelay, float autoscrollButtonDelay,
- ScrollerStyle preferredScrollerStyle, bool redraw, bool scrollAnimationEnabled, WebScrollbarButtonsPlacement buttonPlacement)
+ ScrollerStyle preferredScrollerStyle, bool redraw, WebScrollbarButtonsPlacement buttonPlacement)
{
ScrollbarTheme& theme = ScrollbarTheme::theme();
if (theme.isMockTheme())
@@ -53,7 +53,7 @@ void WebScrollbarTheme::updateScrollbarsWithNSDefaults(
static_cast<ScrollbarThemeMacCommon&>(theme).preferencesChanged(
initialButtonDelay, autoscrollButtonDelay,
static_cast<NSScrollerStyle>(preferredScrollerStyle),
- redraw, scrollAnimationEnabled, buttonPlacement);
+ redraw, buttonPlacement);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698