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..2b51421d4f51f8eb99f1aef788946c8cbed91364 100644 |
--- a/third_party/WebKit/Source/platform/heap/Heap.h |
+++ b/third_party/WebKit/Source/platform/heap/Heap.h |
@@ -202,6 +202,9 @@ public: |
// always 'alive'. |
if (!object) |
return true; |
+ // TODO(keishi): some tests create CrossThreadPersistent on non attached threads. |
+ if (!ThreadState::current()) |
sof
2016/05/26 12:09:41
What's going wrong without this bail out? I though
keishi
2016/05/26 12:32:04
Sorry this is part of https://codereview.chromium.
|
+ return true; |
return ObjectAliveTrait<T>::isHeapObjectAlive(object); |
} |
template<typename T> |