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

Unified Diff: Source/bindings/core/v8/ToV8.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/SharedPersistent.h ('k') | Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ToV8.h
diff --git a/Source/bindings/core/v8/ToV8.h b/Source/bindings/core/v8/ToV8.h
index 480272cbe0c7910896a6e94b9099504e6a6d1e15..2778de4212a55e22c3d68f1dfab16ec057df7d6b 100644
--- a/Source/bindings/core/v8/ToV8.h
+++ b/Source/bindings/core/v8/ToV8.h
@@ -173,7 +173,9 @@ inline v8::Local<v8::Value> toV8(v8::Local<v8::Value> value, v8::Local<v8::Objec
// Undefined
-struct ToV8UndefinedGenerator { }; // Used only for having toV8 return v8::Undefined.
+struct ToV8UndefinedGenerator {
+ DISALLOW_ALLOCATION();
+}; // Used only for having toV8 return v8::Undefined.
inline v8::Local<v8::Value> toV8(const ToV8UndefinedGenerator& value, v8::Local<v8::Object> creationContext, v8::Isolate* isolate)
{
« no previous file with comments | « Source/bindings/core/v8/SharedPersistent.h ('k') | Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698