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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.cpp

Issue 1609943003: Make platform/heap to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/heap/Heap.cpp
diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
index 4972af8d0f2acdb66bba58274e7319c156d4f192..9932fd43d047366a28a8a8332073ec1ee757bca0 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.cpp
+++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
@@ -51,6 +51,7 @@
namespace blink {
class GCForbiddenScope final {
+ DISALLOW_NEW();
public:
explicit GCForbiddenScope(ThreadState* state)
: m_state(state)
@@ -69,6 +70,7 @@ private:
};
class GCScope final {
+ STACK_ALLOCATED();
public:
GCScope(ThreadState* state, BlinkGC::StackState stackState, BlinkGC::GCType gcType)
: m_state(state)
@@ -127,7 +129,8 @@ private:
OwnPtr<Visitor> m_visitor;
};
-class ResumeThreadScope {
+class ResumeThreadScope final {
+ STACK_ALLOCATED();
public:
explicit ResumeThreadScope(BlinkGC::GCType gcType)
: m_resumeThreads(gcType != BlinkGC::ThreadTerminationGC)
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Heap.h ('k') | third_party/WebKit/Source/platform/heap/HeapAllocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698