Changeset 151093 in webkit


Ignore:
Timestamp:
Jun 3, 2013 12:09:56 AM (11 years ago)
Author:
gyuyoung.kim@samsung.com
Message:

[WTF] Add OwnArrayPtr vectortraits template
https://bugs.webkit.org/show_bug.cgi?id=117131

Reviewed by Darin Adler.

To support Vector<OwnArrayPtr<P>>, which will be used by EFL port.

  • wtf/VectorTraits.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r151020 r151093  
     12013-06-03  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
     2
     3        [WTF] Add OwnArrayPtr vectortraits template
     4        https://bugs.webkit.org/show_bug.cgi?id=117131
     5
     6        Reviewed by Darin Adler.
     7
     8        To support Vector<OwnArrayPtr<P>>, which will be used by EFL port.
     9
     10        * wtf/VectorTraits.h:
     11
    1122013-05-31  Rafael Brandao  <rafael.lobo@openbossa.org>
    213
  • trunk/Source/WTF/wtf/VectorTraits.h

    r127973 r151093  
    2222#define WTF_VectorTraits_h
    2323
     24#include <wtf/OwnArrayPtr.h>
    2425#include <wtf/OwnPtr.h>
    2526#include <wtf/RefPtr.h>
     
    7980    struct VectorTraits<OwnPtr<P> > : SimpleClassVectorTraits { };
    8081
     82    template<typename P>
     83    struct VectorTraits<OwnArrayPtr<P> > : SimpleClassVectorTraits { };
     84
    8185    template<>
    8286    struct VectorTraits<AtomicString> : SimpleClassVectorTraits { };
Note: See TracChangeset for help on using the changeset viewer.