| Index: sky/engine/platform/heap/Handle.h
|
| diff --git a/sky/engine/platform/heap/Handle.h b/sky/engine/platform/heap/Handle.h
|
| index da7e346a3087922dac85a3d7dcece4ba11012040..41e044c0e5a6af949b516a5246319bb03c0a982e 100644
|
| --- a/sky/engine/platform/heap/Handle.h
|
| +++ b/sky/engine/platform/heap/Handle.h
|
| @@ -31,7 +31,6 @@
|
| #ifndef Handle_h
|
| #define Handle_h
|
|
|
| -#include "wtf/Functional.h"
|
| #include "wtf/HashFunctions.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/RawPtr.h"
|
| @@ -144,27 +143,4 @@ public:
|
|
|
| } // namespace blink
|
|
|
| -namespace WTF {
|
| -
|
| -// For wtf/Functional.h
|
| -template<typename T, bool isGarbageCollected> struct PointerParamStorageTraits;
|
| -
|
| -template<typename T>
|
| -struct PointerParamStorageTraits<T*, false> {
|
| - typedef T* StorageType;
|
| -
|
| - static StorageType wrap(T* value) { return value; }
|
| - static T* unwrap(const StorageType& value) { return value; }
|
| -};
|
| -
|
| -template<typename T>
|
| -struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, false> {
|
| -};
|
| -
|
| -template<typename T>
|
| -struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, false> {
|
| -};
|
| -
|
| -} // namespace WTF
|
| -
|
| #endif
|
|
|