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

Unified Diff: Source/bindings/core/v8/WrapperTypeInfo.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
Index: Source/bindings/core/v8/WrapperTypeInfo.h
diff --git a/Source/bindings/core/v8/WrapperTypeInfo.h b/Source/bindings/core/v8/WrapperTypeInfo.h
index ee3b098ce79bf9d33be3b1c733619a78cfead8e2..95a1f9f58c44f40e35467986a4f1577a5100104b 100644
--- a/Source/bindings/core/v8/WrapperTypeInfo.h
+++ b/Source/bindings/core/v8/WrapperTypeInfo.h
@@ -33,6 +33,7 @@
#include "gin/public/wrapper_info.h"
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/Assertions.h"
#include <v8.h>
@@ -66,6 +67,7 @@ inline void setObjectGroup(v8::Isolate* isolate, ScriptWrappable* scriptWrappabl
// v8 objects. Each v8 bindings class has exactly one static WrapperTypeInfo member, so
// comparing pointers is a safe way to determine if types match.
struct WrapperTypeInfo {
+ DISALLOW_ALLOCATION();
enum WrapperTypePrototype {
WrapperTypeObjectPrototype,
WrapperTypeExceptionPrototype,
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptController.h ('k') | Source/bindings/modules/v8/ModuleBindingsInitializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698