| Index: Source/platform/heap/Handle.h
|
| diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
|
| index a96f85f769d3a4b35681bb278525555e3618370f..588b3d754111e8830b178f33cc6842ed602b7e42 100644
|
| --- a/Source/platform/heap/Handle.h
|
| +++ b/Source/platform/heap/Handle.h
|
| @@ -192,7 +192,7 @@ public:
|
| protected:
|
| inline PersistentBase()
|
| : PersistentNode(TraceMethodDelegate<Owner, &Owner::trace>::trampoline)
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| , m_roots(RootsAccessor::roots())
|
| #endif
|
| {
|
| @@ -205,7 +205,7 @@ protected:
|
|
|
| inline explicit PersistentBase(const PersistentBase& otherref)
|
| : PersistentNode(otherref.m_trace)
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| , m_roots(RootsAccessor::roots())
|
| #endif
|
| {
|
| @@ -220,7 +220,7 @@ protected:
|
|
|
| inline PersistentBase& operator=(const PersistentBase& otherref) { return *this; }
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| private:
|
| PersistentNode* m_roots;
|
| #endif
|
| @@ -254,7 +254,7 @@ private:
|
| friend class ThreadState;
|
| };
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| // For global persistent handles we cannot check that the
|
| // pointer is in the heap because that would involve
|
| // inspecting the heap of running threads.
|
|
|