| Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
|
| index b20efe35c59a79411a3581de7024857a82ec91ab..e671ec2bc72bc7bf267a22cce8dc70adb80e8753 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
|
| @@ -211,7 +211,6 @@ void ScrollbarThemeMac::preferencesChanged(float initialButtonDelay, float autos
|
| updateButtonPlacement(buttonPlacement);
|
| gInitialButtonDelay = initialButtonDelay;
|
| gAutoscrollButtonDelay = autoscrollButtonDelay;
|
| - bool sendScrollerStyleNotification = gPreferredScrollerStyle != preferredScrollerStyle;
|
| gPreferredScrollerStyle = preferredScrollerStyle;
|
| if (redraw && !scrollbarSet().isEmpty()) {
|
| ScrollbarSet::iterator end = scrollbarSet().end();
|
| @@ -220,12 +219,6 @@ void ScrollbarThemeMac::preferencesChanged(float initialButtonDelay, float autos
|
| (*it)->invalidate();
|
| }
|
| }
|
| - if (sendScrollerStyleNotification) {
|
| - [[NSNotificationCenter defaultCenter]
|
| - postNotificationName:@"NSPreferredScrollerStyleDidChangeNotification"
|
| - object:nil
|
| - userInfo:@{ @"NSScrollerStyle" : @(gPreferredScrollerStyle) }];
|
| - }
|
| }
|
|
|
| double ScrollbarThemeMac::initialAutoscrollTimerDelay()
|
|
|