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

Unified Diff: Source/bindings/core/v8/V8RecursionScope.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/bindings/core/v8/V8RecursionScope.h
diff --git a/Source/bindings/core/v8/V8RecursionScope.h b/Source/bindings/core/v8/V8RecursionScope.h
index 86c638d4bdfa1d21869bb8a64ce260cac6cdecbe..cd3e8abc7350181467aeaebe174b9d1c8942ddf5 100644
--- a/Source/bindings/core/v8/V8RecursionScope.h
+++ b/Source/bindings/core/v8/V8RecursionScope.h
@@ -56,7 +56,7 @@ namespace blink {
//
// http://www.whatwg.org/specs/web-apps/current-work/#perform-a-microtask-checkpoint
class V8RecursionScope {
- WTF_MAKE_NONCOPYABLE(V8RecursionScope);
+ STACK_ALLOCATED();
public:
explicit V8RecursionScope(v8::Isolate* isolate)
: m_isolate(isolate)
@@ -87,6 +87,8 @@ public:
#endif
class MicrotaskSuppression {
+ WTF_MAKE_FAST_ALLOCATED(MicrotaskSuppression);
+ WTF_MAKE_NONCOPYABLE(MicrotaskSuppression);
public:
MicrotaskSuppression(v8::Isolate* isolate)
#if ENABLE(ASSERT)

Powered by Google App Engine
This is Rietveld 408576698