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/WorkerScriptController.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/WorkerScriptController.h
diff --git a/Source/bindings/core/v8/WorkerScriptController.h b/Source/bindings/core/v8/WorkerScriptController.h
index ecc540e5704110327c6c70de74f1080026605033..8247bf3ac276bac9933c9bf07822aa72fdd6822e 100644
--- a/Source/bindings/core/v8/WorkerScriptController.h
+++ b/Source/bindings/core/v8/WorkerScriptController.h
@@ -36,6 +36,7 @@
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8CacheOptions.h"
#include "core/CoreExport.h"
+#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
#include "wtf/ThreadingPrimitives.h"
#include "wtf/text/TextPosition.h"
@@ -50,6 +51,8 @@ class ScriptSourceCode;
class WorkerGlobalScope;
class CORE_EXPORT WorkerScriptController {
+ WTF_MAKE_FAST_ALLOCATED(WorkerScriptController);
+ WTF_MAKE_NONCOPYABLE(WorkerScriptController);
public:
WorkerScriptController(WorkerGlobalScope&, v8::Isolate*);
~WorkerScriptController();

Powered by Google App Engine
This is Rietveld 408576698