Add ENABLE_CUSTOM_SCROLLBARS and define it for macOS and for non-Cocoa platforms
Created attachment 396343 [details]
This fix wasn't complete.
Created attachment 396374 [details]
Comment on attachment 396374 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=396374&action=review
> -#if !defined(ENABLE_CUSTOM_SCROLLBARS)
> +#if !defined(ENABLE_CUSTOM_SCROLLBARS) && !PLATFORM(COCOA)
> #define ENABLE_CUSTOM_SCROLLBARS 1
This should be fixed in PlatformEnableCocoa.h instead, like this:
#if !defined(ENABLE_CUSTOM_SCROLLBARS) && !PLATFORM(MAC)
#define ENABLE_CUSTOM_SCROLLBARS 0
PlatformEnableCocoa.h doesn't ever have to set it to 1.
Created attachment 396378 [details]
Rolling out the first patch via bug 210479. I don't have time to address the iOS WK2 failures at present, will postpone this.