<?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>41321</bug_id>
          
          <creation_ts>2010-06-28 17:51:02 -0700</creation_ts>
          <short_desc>MASTER: Use std::make_unique or adoptRef at all call sites where new is used</short_desc>
          <delta_ts>2019-04-21 14:18:29 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>
          <dependson>28068</dependson>
    
    <dependson>41320</dependson>
    
    <dependson>41374</dependson>
    
    <dependson>44834</dependson>
    
    <dependson>46547</dependson>
    
    <dependson>75211</dependson>
    
    <dependson>75219</dependson>
    
    <dependson>75221</dependson>
    
    <dependson>75222</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darin Adler">darin</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>abarth</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>244012</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-06-28 17:51:02 -0700</bug_when>
    <thetext>Working on a project where we will always adopt right after we call new.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>527113</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-12-25 19:46:24 -0800</bug_when>
    <thetext>Command line I am using to find additional call sites for new:

find . -name &apos;*.cpp&apos; -o -name &apos;*.mm&apos; | xargs grep &quot;new [a-zA-Z]&quot; | grep -v adoptArrayPtr | grep -v adoptPtr | grep -v adoptRef | grep -v rena | grep -v &quot;:[ \t]*/&quot; | grep -v static | grep -v s_</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1529163</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2019-04-21 14:18:29 -0700</bug_when>
    <thetext>Changed my mind. We should minimize the use of direct calls to &quot;new&quot;, but it’s impractical to forbid it entirely, I think.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>