<?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>23425</bug_id>
          
          <creation_ts>2009-01-19 16:58:52 -0800</creation_ts>
          <short_desc>Clean up setShouldAntialias/setUseAntialiasing on GraphicsContext</short_desc>
          <delta_ts>2009-01-20 13:01:29 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Rob Buis">rwlbuis</assigned_to>
          <cc>darin</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106293</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-01-19 16:58:52 -0800</bug_when>
    <thetext>The patch for bug 16182 added GraphicsContext::setUseAntialiasing(). However, GraphicsContexet already has:

        void setShouldAntialias(bool);
        bool shouldAntialias() const;

so now we have 2 antialiasing methods. This needs cleaning up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106310</commentid>
    <comment_count>1</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2009-01-19 23:40:13 -0800</bug_when>
    <thetext>Hi Simon,

(In reply to comment #0)
&gt; The patch for bug 16182 added GraphicsContext::setUseAntialiasing(). However,
&gt; GraphicsContexet already has:
&gt; 
&gt;         void setShouldAntialias(bool);
&gt;         bool shouldAntialias() const;
&gt; 
&gt; so now we have 2 antialiasing methods. This needs cleaning up.

Ok, I&apos;ll have a look tonight.
Cheers,

Rob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106374</commentid>
    <comment_count>2</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2009-01-20 12:55:36 -0800</bug_when>
    <thetext>Hi Simon,

(In reply to comment #0)
&gt; The patch for bug 16182 added GraphicsContext::setUseAntialiasing(). However,
&gt; GraphicsContexet already has:
&gt; 
&gt;         void setShouldAntialias(bool);
&gt;         bool shouldAntialias() const;
&gt; 
&gt; so now we have 2 antialiasing methods. This needs cleaning up.

Now that I looked at it, setUseAntialiasing is gone! It was removed in the same patch that added  setShouldAntialias .Also the shape-rendering.svg test still works fine, so I think this report can be closed.
Cheers,

Rob.

PS: I do see setUseAntialiasing mentioned in WebCore/WebCore.order, but I am not sure in what context that is important?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106376</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-20 12:59:44 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; PS: I do see setUseAntialiasing mentioned in WebCore/WebCore.order, but I am
&gt; not sure in what context that is important?

That’s a file used to optimize performance on Mac OS X that has to be regenerated from time to time by actually testing some usage scenarios. It’s quite out of date at the moment. There’s no harm in having it mention a function that doesn’t exist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106377</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-01-20 13:01:29 -0800</bug_when>
    <thetext>OK, sorry about filing this. I was confused by a conflict I had with some local changes. I think we&apos;re all good.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>