<?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>78552</bug_id>
          
          <creation_ts>2012-02-13 16:54:22 -0800</creation_ts>
          <short_desc>SharedBuffer&apos;s Vector&lt;RetainPtr&lt;CFDataRef&gt; &gt; should have a typedef</short_desc>
          <delta_ts>2019-08-07 11:51:34 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>EasyFix</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Poulain">benjamin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>555767</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2012-02-13 16:54:22 -0800</bug_when>
    <thetext>From https://bugs.webkit.org/show_bug.cgi?id=77718

&gt; Source/WebCore/platform/cf/SharedBufferCF.cpp:121
&gt; +    Vector&lt;RetainPtr&lt;CFDataRef&gt; &gt;::const_iterator end = m_dataArray.end();

Nit: Might be nice to have a typedef for Vector&lt;RetainPtr&lt;CFDataRef&gt; &gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1559226</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2019-08-07 11:51:34 -0700</bug_when>
    <thetext>SharedBufferCF.cpp no longer has this code, and the only data structure it iterates over:

    mutable DataSegmentVector m_segments;

Already has the equivalent of a typedef:

    using DataSegmentVector = Vector&lt;DataSegmentVectorEntry, 1&gt;;
    DataSegmentVector::const_iterator begin() const { return m_segments.begin(); }
    DataSegmentVector::const_iterator end() const { return m_segments.end(); }

So moving to RESOLVED/CONFIGURATION CHANGED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>