Changeset 45068 in webkit for trunk/JavaScriptCore/wtf


Ignore:
Timestamp:
Jun 24, 2009, 12:40:13 AM (16 years ago)
Author:
[email protected]
Message:

2009-06-24 Zoltan Horvath <[email protected]>

Reviewed by Darin Adler.

Inherits Vector class from FastAllocBase because it has been
instantiated by 'new' in JavaScriptCore/runtime/Structure.cpp:633.

  • wtf/Vector.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Vector.h

    r43205 r45068  
    2222#define WTF_Vector_h
    2323
    24 #include "Assertions.h"
    25 #include "FastMalloc.h"
     24#include "FastAllocBase.h"
    2625#include "Noncopyable.h"
    2726#include "NotFound.h"
    2827#include "VectorTraits.h"
    2928#include <limits>
    30 #include <stdlib.h>
    31 #include <string.h>
    3229#include <utility>
    3330
     
    434431
    435432    template<typename T, size_t inlineCapacity = 0>
    436     class Vector {
     433    class Vector : public FastAllocBase {
    437434    private:
    438435        typedef VectorBuffer<T, inlineCapacity> Buffer;
Note: See TracChangeset for help on using the changeset viewer.