| Index: third_party/WebKit/Source/platform/heap/HeapAllocator.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapAllocator.h b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
|
| index 1402dcd075e55f0578befe4b5bf017eb83e7e2b7..ee61d0b2f8386635ea81b725b7c6716a2a0e7273 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapAllocator.h
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
|
| @@ -148,8 +148,7 @@ class PLATFORM_EXPORT HeapAllocator {
|
| static void DeleteArray(void* ptr) { NOTREACHED(); }
|
|
|
| static bool IsAllocationAllowed() {
|
| - return ThreadState::Current()->IsAllocationAllowed() &&
|
| - !ThreadState::Current()->IsObjectResurrectionForbidden();
|
| + return ThreadState::Current()->IsAllocationAllowed();
|
| }
|
|
|
| static bool IsObjectResurrectionForbidden() {
|
|
|