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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapAllocator.h

Issue 1381493006: Remove unused Allocator::{enter,leave}NoAllocationScope(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/DefaultAllocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ae487e5b217520433af855ffa5e0ac87e712d985..ece36a275040a73106fe8af48d2de4ae2de2c1a8 100644
--- a/third_party/WebKit/Source/platform/heap/HeapAllocator.h
+++ b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
@@ -161,20 +161,6 @@ public:
return *other;
}
- static void enterNoAllocationScope()
- {
-#if ENABLE(ASSERT)
- ThreadState::current()->enterNoAllocationScope();
-#endif
- }
-
- static void leaveNoAllocationScope()
- {
-#if ENABLE(ASSERT)
- ThreadState::current()->leaveNoAllocationScope();
-#endif
- }
-
static void enterGCForbiddenScope()
{
ThreadState::current()->enterGCForbiddenScope();
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/DefaultAllocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698