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

Unified Diff: Source/bindings/core/v8/V8NPUtils.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/V8MutationCallback.h ('k') | Source/bindings/core/v8/V8ObjectConstructor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8NPUtils.h
diff --git a/Source/bindings/core/v8/V8NPUtils.h b/Source/bindings/core/v8/V8NPUtils.h
index 39f7154a00857d538099ddc67da36481227eec28..06e77b3116067ece147317f070c554313b4b28f5 100644
--- a/Source/bindings/core/v8/V8NPUtils.h
+++ b/Source/bindings/core/v8/V8NPUtils.h
@@ -31,6 +31,7 @@
#define V8NPUtils_h
#include "core/CoreExport.h"
+#include "wtf/Allocator.h"
#include <bindings/npruntime.h>
#include <v8.h>
@@ -55,6 +56,7 @@ CORE_EXPORT void popExceptionHandler();
// Upon destruction, an ExceptionCatcher will pass a caught exception to the
// current ExceptionHandler.
class ExceptionCatcher {
+ STACK_ALLOCATED();
public:
ExceptionCatcher();
~ExceptionCatcher();
« no previous file with comments | « Source/bindings/core/v8/V8MutationCallback.h ('k') | Source/bindings/core/v8/V8ObjectConstructor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698