Index: third_party/WebKit/Source/platform/heap/Heap.h |
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h |
index c3a0eb42f6372818097f95af0887d0d161509f35..eb8246b0eaf563a50381f7a91711f543cd89e52d 100644 |
--- a/third_party/WebKit/Source/platform/heap/Heap.h |
+++ b/third_party/WebKit/Source/platform/heap/Heap.h |
@@ -104,7 +104,6 @@ class ObjectAliveTrait<T, true> { |
STATIC_ONLY(ObjectAliveTrait); |
public: |
- NO_LAZY_SWEEP_SANITIZE_ADDRESS |
static bool isHeapObjectAlive(T* object) { |
static_assert(sizeof(T), "T must be fully defined"); |
return object->isHeapObjectAlive(); |
@@ -323,8 +322,7 @@ class PLATFORM_EXPORT ThreadHeap { |
// to be in; willObjectBeLazilySwept() has undefined behavior if passed |
// such a reference. |
template <typename T> |
- NO_LAZY_SWEEP_SANITIZE_ADDRESS static bool willObjectBeLazilySwept( |
- const T* objectPointer) { |
+ static bool willObjectBeLazilySwept(const T* objectPointer) { |
static_assert(IsGarbageCollectedType<T>::value, |
"only objects deriving from GarbageCollected can be used."); |
BasePage* page = pageFromObject(objectPointer); |