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

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: Fixed patch conflict 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
« no previous file with comments | « Source/bindings/core/v8/ToV8.h ('k') | Source/bindings/core/v8/V8BindingForTesting.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..21d913f7e50111fc43da8fc23b1b04daea2af229 100644
--- a/Source/bindings/core/v8/V8Binding.h
+++ b/Source/bindings/core/v8/V8Binding.h
@@ -67,6 +67,7 @@ class XPathNSResolver;
template <typename T>
struct V8TypeOf {
+ STATIC_ONLY(V8TypeOf);
// |Type| provides C++ -> V8 type conversion for DOM wrappers.
// The Blink binding code generator will generate specialized version of
// V8TypeOf for each wrapper class.
@@ -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)
« no previous file with comments | « Source/bindings/core/v8/ToV8.h ('k') | Source/bindings/core/v8/V8BindingForTesting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698