Bug 37386 - [Haiku] Fix crash in Gradient::fill()
Summary: [Haiku] Fix crash in Gradient::fill()
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-04-10 05:22 PDT by Stephan Aßmus
Modified: 2010-04-10 14:39 PDT (History)
1 user (show)

See Also:

[Haiku] Fix crash in Gradient::fill() (1.26 KB, patch)
2010-04-10 05:24 PDT, Stephan Aßmus
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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()

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.