<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>37386</bug_id>
          
          <creation_ts>2010-04-10 05:22:50 -0700</creation_ts>
          <short_desc>[Haiku] Fix crash in Gradient::fill()</short_desc>
          <delta_ts>2010-04-10 14:39:59 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Stephan Aßmus">superstippi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>211136</commentid>
    <comment_count>0</comment_count>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-04-10 05:22:50 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211137</commentid>
    <comment_count>1</comment_count>
      <attachid>53038</attachid>
    <who name="Stephan Aßmus">superstippi</who>
    <bug_when>2010-04-10 05:24:33 -0700</bug_when>
    <thetext>Created attachment 53038
[Haiku] Fix crash in Gradient::fill()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211182</commentid>
    <comment_count>2</comment_count>
      <attachid>53038</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-10 14:17:05 -0700</bug_when>
    <thetext>Comment on attachment 53038
[Haiku] Fix crash in Gradient::fill()

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211188</commentid>
    <comment_count>3</comment_count>
      <attachid>53038</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-10 14:39:54 -0700</bug_when>
    <thetext>Comment on attachment 53038
[Haiku] Fix crash in Gradient::fill()

Clearing flags on attachment: 53038

Committed r57420: &lt;http://trac.webkit.org/changeset/57420&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211189</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-10 14:39:59 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53038</attachid>
            <date>2010-04-10 05:24:33 -0700</date>
            <delta_ts>2010-04-10 14:39:54 -0700</delta_ts>
            <desc>[Haiku] Fix crash in Gradient::fill()</desc>
            <filename>GradientHaiku.diff</filename>
            <type>text/plain</type>
            <size>1292</size>
            <attacher name="Stephan Aßmus">superstippi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1NzQxNykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTcgQEAKKzIwMTAtMDQtMTAgIFN0ZXBoYW4gQcOfbXVzICA8c3VwZXJzdGlwcGlA
Z214LmRlPgorCisgICAgICAgIF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HcmFkaWVudDo6ZmlsbChHcmFw
aGljc0NvbnRleHQqIGNvbnRleHQsIGNvbnN0IEZsb2F0UmVjdCYgcmVjdCkKIHsKLSAgICBjb250
ZXh0LT5wbGF0Zm9ybUNvbnRleHQoKS0+RmlsbFJlY3QocmVjdCwgKm1fZ3JhZGllbnQpOworICAg
IGNvbnRleHQtPnBsYXRmb3JtQ29udGV4dCgpLT5GaWxsUmVjdChyZWN0LCAqcGxhdGZvcm1HcmFk
aWVudCgpKTsKIH0KIAogfSAvLyBuYW1lc3BhY2UgV2ViQ29yZQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>