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

Unified Diff: Source/bindings/core/v8/ScopedPersistent.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/ScheduledAction.h ('k') | Source/bindings/core/v8/ScriptController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScopedPersistent.h
diff --git a/Source/bindings/core/v8/ScopedPersistent.h b/Source/bindings/core/v8/ScopedPersistent.h
index 270d60e470eb81d6a1fac5d1961659200900b3b8..3cd5e06d40e98e029dded90d2f9fa3d00a2be830 100644
--- a/Source/bindings/core/v8/ScopedPersistent.h
+++ b/Source/bindings/core/v8/ScopedPersistent.h
@@ -31,6 +31,7 @@
#ifndef ScopedPersistent_h
#define ScopedPersistent_h
+#include "wtf/FastAllocBase.h"
#include "wtf/Noncopyable.h"
#include <v8.h>
@@ -38,6 +39,7 @@ namespace blink {
template<typename T>
class ScopedPersistent {
+ WTF_MAKE_FAST_ALLOCATED(ScopedPersistent);
WTF_MAKE_NONCOPYABLE(ScopedPersistent);
public:
ScopedPersistent() { }
« no previous file with comments | « Source/bindings/core/v8/ScheduledAction.h ('k') | Source/bindings/core/v8/ScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698