Index: third_party/WebKit/Source/platform/heap/Handle.h |
diff --git a/third_party/WebKit/Source/platform/heap/Handle.h b/third_party/WebKit/Source/platform/heap/Handle.h |
index fb28042fe596ef0ac8faa37692a68665acef47e0..9aaa593522e4a1e9e9585f0accad5d2cd2bf643d 100644 |
--- a/third_party/WebKit/Source/platform/heap/Handle.h |
+++ b/third_party/WebKit/Source/platform/heap/Handle.h |
@@ -1005,14 +1005,6 @@ template<typename T, typename U> inline bool operator!=(const Member<T>& a, cons |
template<typename T, typename U> inline bool operator==(const Persistent<T>& a, const Member<U>& b) { return a.get() == b.get(); } |
template<typename T, typename U> inline bool operator!=(const Persistent<T>& a, const Member<U>& b) { return a.get() != b.get(); } |
-#if defined(LEAK_SANITIZER) |
-#define DEFINE_STATIC_REF_WILL_BE_PERSISTENT(type, name, arguments) \ |
- static type* name = *(new Persistent<type>(arguments))->registerAsStaticReference() |
-#else |
-#define DEFINE_STATIC_REF_WILL_BE_PERSISTENT(type, name, arguments) \ |
- static type* name = *(new Persistent<type>(arguments)) |
-#endif |
- |
template<typename T, bool = IsGarbageCollectedType<T>::value> |
class RawPtrOrMemberTrait { |
STATIC_ONLY(RawPtrOrMemberTrait) |