REGRESSION: WebKit content crash in Base System (because NSAppearance is NULL).
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2019 16:59:08 +0000 (16:59 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2019 16:59:08 +0000 (16:59 +0000)
commitc3f18d7462ed516bac47993d4a278018cd71566e
tree70f9512d83880024f710a516f4b563264d2e3e48
parent1f7cd6d948066999f6278bcafda907176ae9a8a5
REGRESSION: WebKit content crash in Base System (because NSAppearance is NULL).
https://bugs.webkit.org/show_bug.cgi?id=195086
rdar://problem/48419124

Reviewed by Tim Horton.

Source/WebCore:

* platform/mac/ScrollAnimatorMac.mm:
(-[WebScrollerImpDelegate effectiveAppearanceForScrollerImp:]): Always return a valid NSAppearance.

Source/WebKit:

* UIProcess/RemoteLayerTree/mac/ScrollerMac.mm:
(-[WKScrollerImpDelegate effectiveAppearanceForScrollerImp:]): Always return a valid NSAppearance.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/ScrollAnimatorMac.mm
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/RemoteLayerTree/mac/ScrollerMac.mm