Summary: | REGRESSION (r229419): Missing call to [self init] in -[WebScrollbarPartAnimation initWithScrollbar:featureToAnimate:animateFrom:animateTo:duration:] | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
Component: | Scrolling | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, dino, pvollan, simon.fraser, thorton, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=183291 | ||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2019-09-15 11:10:54 PDT
Created attachment 378817 [details]
Patch v1
Comment on attachment 378817 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=378817&action=review > Source/WebCore/platform/mac/ScrollAnimatorMac.mm:326 > + self = [super init]; > + if (!self) > + return nil; Note that I chose to use plain old -init due to this class inheriting from NSObject: #if !ENABLE(WEBPROCESS_WINDOWSERVER_BLOCKING) @interface WebScrollbarPartAnimation : NSAnimation #else @interface WebScrollbarPartAnimation : NSObject #endif Comment on attachment 378817 [details] Patch v1 Clearing flags on attachment: 378817 Committed r249887: <https://trac.webkit.org/changeset/249887> All reviewed patches have been landed. Closing bug. |