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