Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h

Issue 2815663002: Disable collection backing reallocation during pre finalizer (Closed)
Patch Set: fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h
diff --git a/third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h b/third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h
index 0f05c01b7187a7a206022939c800c173c247428f..15ee4668c544791bcb8d9fe2ddf9d4e2399c58e9 100644
--- a/third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h
+++ b/third_party/WebKit/Source/platform/wtf/allocator/PartitionAllocator.h
@@ -102,6 +102,7 @@ class WTF_EXPORT PartitionAllocator {
}
static bool IsAllocationAllowed() { return true; }
+ static bool IsObjectResurrectionForbidden() { return false; }
static void EnterGCForbiddenScope() {}
static void LeaveGCForbiddenScope() {}

Powered by Google App Engine
This is Rietveld 408576698