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..9d651fbecca6b30ed05884c8d00c7f75498ad500 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()) |
keishi
2016/06/02 02:01:02
During the code review, I changed this to a DCHECK
haraken
2016/06/02 02:23:31
I don't quite understand why you want to unconditi
keishi
2016/06/02 02:58:53
Sorry forgot to flip the expression.
Cross thread
|
+ return true; |
return ObjectAliveTrait<T>::isHeapObjectAlive(object); |
} |
template<typename T> |