Bug 37386

Summary: [Haiku] Fix crash in Gradient::fill()
Product: WebKit Reporter: Stephan Aßmus <superstippi>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
[Haiku] Fix crash in Gradient::fill() none

Description Stephan Aßmus 2010-04-10 05:22:50 PDT
In certain situations, the platform BGradient could have not been created before Gradient::fill() is called the first time. Enforce its creation by using platformGradient() instead of dereferencing the member directly.
Comment 1 Stephan Aßmus 2010-04-10 05:24:33 PDT
Created attachment 53038 [details]
[Haiku] Fix crash in Gradient::fill()
Comment 2 Eric Seidel (no email) 2010-04-10 14:17:05 PDT
Comment on attachment 53038 [details]
[Haiku] Fix crash in Gradient::fill()

Thanks.
Comment 3 WebKit Commit Bot 2010-04-10 14:39:54 PDT
Comment on attachment 53038 [details]
[Haiku] Fix crash in Gradient::fill()

Clearing flags on attachment: 53038

Committed r57420: <http://trac.webkit.org/changeset/57420>
Comment 4 WebKit Commit Bot 2010-04-10 14:39:59 PDT
All reviewed patches have been landed.  Closing bug.