Changeset 45072 in webkit for trunk/JavaScriptCore/wtf/RefPtr.h


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

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

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=26644

Inherits RefPtr class from FastAllocBase because it has been
instantiated by 'new' in JavaScriptCore/runtime/StructureChain.cpp:41.

  • wtf/RefPtr.h:
File:
1 edited

Legend:

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

    r38391 r45072  
    2424#include <algorithm>
    2525#include "AlwaysInline.h"
     26#include "FastAllocBase.h"
    2627
    2728namespace WTF {
     
    3334    enum HashTableDeletedValueType { HashTableDeletedValue };
    3435
    35     template <typename T> class RefPtr {
     36    template <typename T> class RefPtr : public FastAllocBase {
    3637    public:
    3738        RefPtr() : m_ptr(0) { }
Note: See TracChangeset for help on using the changeset viewer.