Ignore:
Timestamp:
Sep 26, 2013, 12:48:46 PM (12 years ago)
Author:
[email protected]
Message:

Remove PassWeak.h
https://bugs.webkit.org/show_bug.cgi?id=121971

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

  • GNUmakefile.list.am:
  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • heap/PassWeak.h: Removed.
  • heap/WeakInlines.h:

Source/WebCore:

  • ForwardingHeaders/heap/PassWeak.h: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/WeakInlines.h

    r156487 r156489  
    2727#define WeakInlines_h
    2828
    29 #include "PassWeak.h"
     29#include "JSCell.h"
    3030#include "WeakSetInlines.h"
    3131#include <wtf/Assertions.h>
     
    152152namespace WTF {
    153153
    154 template<typename T> struct VectorTraits<JSC::Weak<T> > : SimpleClassVectorTraits {
     154template<typename T> struct VectorTraits<JSC::Weak<T>> : SimpleClassVectorTraits {
    155155    static const bool canCompareWithMemcmp = false;
    156156};
    157157
    158 template<typename T> struct HashTraits<JSC::Weak<T> > : SimpleClassHashTraits<JSC::Weak<T> > {
     158template<typename T> struct HashTraits<JSC::Weak<T>> : SimpleClassHashTraits<JSC::Weak<T>> {
    159159    typedef JSC::Weak<T> StorageType;
    160160
    161161    typedef std::nullptr_t EmptyValueType;
    162162    static EmptyValueType emptyValue() { return nullptr; }
    163 
    164     typedef JSC::PassWeak<T> PassInType;
    165     static void store(PassInType value, StorageType& storage) { storage = value; }
    166 
    167     typedef JSC::PassWeak<T> PassOutType;
    168     static PassOutType passOut(StorageType& value) { return value.release(); }
    169     static PassOutType passOut(EmptyValueType) { return PassOutType(); }
    170163
    171164    typedef T* PeekType;
Note: See TracChangeset for help on using the changeset viewer.