| 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 06bc3314acfeb238a5d045026c8034f304bda00f..e6dd3ffdc86abe9cde613779482bc4b78e05aee2 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.h
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.h
|
| @@ -205,7 +205,8 @@ public:
|
| // TODO(keishi): some tests create CrossThreadPersistent on non attached threads.
|
| if (!ThreadState::current())
|
| return true;
|
| - DCHECK(&ThreadState::current()->heap() == &pageFromObject(object)->arena()->getThreadState()->heap());
|
| + if (&ThreadState::current()->heap() != &pageFromObject(object)->arena()->getThreadState()->heap())
|
| + return true;
|
| return ObjectAliveTrait<T>::isHeapObjectAlive(object);
|
| }
|
| template<typename T>
|
|
|