| 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 40482db58d209521ff8e441509afa93a356ac2cb..509c3c8433425c715f4f4b742206b408f57c21e3 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.h
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.h
|
| @@ -202,6 +202,10 @@ public:
|
| // always 'alive'.
|
| if (!object)
|
| return true;
|
| + // TODO(keishi): some tests create CrossThreadPersistent on non attached threads.
|
| + if (!ThreadState::current())
|
| + return true;
|
| + DCHECK(&ThreadState::current()->heap() == &pageFromObject(object)->arena()->getThreadState()->heap());
|
| return ObjectAliveTrait<T>::isHeapObjectAlive(object);
|
| }
|
| template<typename T>
|
|
|