<?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>60670</bug_id>
          
          <creation_ts>2011-05-11 15:44:09 -0700</creation_ts>
          <short_desc>Remove LOOSE_PASS_OWN_ARRAY_PTR</short_desc>
          <delta_ts>2011-06-15 12:38:43 -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>Web Template Framework</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>59909</dup_id>
          
          <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="Patrick R. Gansterer">paroga</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>abarth</cc>
    
    <cc>darin</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>402360</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2011-05-11 15:44:09 -0700</bug_when>
    <thetext>Remove LOOSE_PASS_OWN_ARRAY_PTR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402368</commentid>
    <comment_count>1</comment_count>
      <attachid>93201</attachid>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2011-05-11 15:50:43 -0700</bug_when>
    <thetext>Created attachment 93201
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402373</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2011-05-11 15:54:52 -0700</bug_when>
    <thetext>Does Apple have some internal dependencies on OwnArrayPtr?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402395</commentid>
    <comment_count>3</comment_count>
      <attachid>93201</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-05-11 16:17:23 -0700</bug_when>
    <thetext>Comment on attachment 93201
Patch

I think it&apos;s safe to remove this if everything compiles.  If we screw something up internally for Apple, I&apos;m sure someone will tell us and we can revert this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402428</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2011-05-11 16:57:19 -0700</bug_when>
    <thetext>We added this code back in because it is being used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402430</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-05-11 16:58:34 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; We added this code back in because it is being used.

Is there a timetable after which we can remove the code?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402434</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2011-05-11 17:02:01 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; We added this code back in because it is being used.
&gt; 
&gt; Is there a timetable after which we can remove the code?

Is there an urgent need to remove it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402436</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-05-11 17:04:48 -0700</bug_when>
    <thetext>&gt; Is there an urgent need to remove it?

Looks like it hasn&apos;t been used by WebKit in since &lt;http://trac.webkit.org/changeset/77785&gt;, which was 3 months ago.  I&apos;m happy to wait another 3 months if that&apos;s convenient for Apple internally, but I would like to remove the code at some point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402442</commentid>
    <comment_count>8</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2011-05-11 17:09:21 -0700</bug_when>
    <thetext>The code can safely be removed when it’s no longer used.  Given the tiny amount of code involved, and its unchanging nature, it seems absurd to try and force the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402445</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-05-11 17:14:30 -0700</bug_when>
    <thetext>My concern is that without a deadline we&apos;ll never remove the code.  Presumably we&apos;ll have the same issue with the other &quot;LOOSE&quot; code for the other smart pointer types.  It seems reasonable to want to not carry this dead code forever.

If three months is not enough, how about six months?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402455</commentid>
    <comment_count>10</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2011-05-11 17:19:52 -0700</bug_when>
    <thetext>&gt; My concern is that without a deadline we&apos;ll never remove the code.

Was I somehow unclear when I stated that this code can be removed when it is unused?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402462</commentid>
    <comment_count>11</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-05-11 17:27:41 -0700</bug_when>
    <thetext>Adam, please cool your jets on this one. This is a very small number of lines of code, and it’s extremely helpful to me and my team at Apple to have this in there for a short while longer.

We *will* remove it when we’re not relying on it any more.

You’re coming on too strong.

You may recall I specifically called this out at the contributors meeting.

There must be more-worthwhile things for us to spend our time on.

I’ll take this bug and I promise to deal with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402472</commentid>
    <comment_count>12</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2011-05-11 17:30:48 -0700</bug_when>
    <thetext>@darin: maybe you want to take bug 59909 too</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402476</commentid>
    <comment_count>13</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-05-11 17:35:18 -0700</bug_when>
    <thetext>&gt; You’re coming on too strong.

Sorry if I came across too strongly.  That wasn&apos;t my intent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421506</commentid>
    <comment_count>14</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-06-15 12:38:43 -0700</bug_when>
    <thetext>Decided to handle all of these at once in bug 59909.

*** This bug has been marked as a duplicate of bug 59909 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>93201</attachid>
            <date>2011-05-11 15:50:43 -0700</date>
            <delta_ts>2011-05-11 17:27:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-60670-20110512005040.patch</filename>
            <type>text/plain</type>
            <size>3624</size>
            <attacher name="Patrick R. Gansterer">paroga</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODYyNzAKZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IDhi
NjExYzljMjQzYTZhMzUxODk3ZGEwZTc5NjNiN2QzNDE2ZDk5M2YuLjc4Mzk5NTk5NDFmOGY2ZmJl
MDQ2ODZmZWRiNDVhZTkwNWFjMGJmZjkgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9KYXZhU2NyaXB0Q29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwpAQCAtMSwz
ICsxLDE1IEBACisyMDExLTA1LTExICBQYXRyaWNrIEdhbnN0ZXJlciAgPHBhcm9nYUB3ZWJraXQu
b3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFJl
bW92ZSBMT09TRV9QQVNTX09XTl9BUlJBWV9QVFIgY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          id="86324"
          type_id="1"
          status="-"
          setter="mrowe"
    />
          </attachment>
      

    </bug>

</bugzilla>