Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1301)

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.h

Issue 2390553002: Remove NO_LAZY_SWEEP_SANITIZE_ADDRESS (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698