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

Unified Diff: Source/bindings/core/v8/V8Binding.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/V8Binding.h
diff --git a/Source/bindings/core/v8/V8Binding.h b/Source/bindings/core/v8/V8Binding.h
index 71f6947fabcc96871cc86406fd2f2858ca30c1ce..54ee55f833c83f190bd601758be3ac40014bec57 100644
--- a/Source/bindings/core/v8/V8Binding.h
+++ b/Source/bindings/core/v8/V8Binding.h
@@ -71,6 +71,7 @@ struct V8TypeOf {
// The Blink binding code generator will generate specialized version of
// V8TypeOf for each wrapper class.
typedef void Type;
+ STATIC_ONLY(V8TypeOf);
};
namespace TraceEvent {
@@ -1027,6 +1028,7 @@ enum DeleteResult {
};
class V8IsolateInterruptor : public ThreadState::Interruptor {
+ WTF_MAKE_FAST_ALLOCATED(V8IsolateInterruptor);
public:
explicit V8IsolateInterruptor(v8::Isolate* isolate)
: m_isolate(isolate)
@@ -1049,6 +1051,7 @@ private:
};
class DevToolsFunctionInfo final {
+ STACK_ALLOCATED();
public:
explicit DevToolsFunctionInfo(v8::Local<v8::Function>& function)
: m_scriptId(0)

Powered by Google App Engine
This is Rietveld 408576698