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

Unified Diff: Source/bindings/core/v8/V8ScriptRunner.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/V8ScriptRunner.h
diff --git a/Source/bindings/core/v8/V8ScriptRunner.h b/Source/bindings/core/v8/V8ScriptRunner.h
index ee6e74a9d8d21b86cb900d8a301a4ff734bcc9ac..7385b2376f659b25bf8b963396f52472bd139cce 100644
--- a/Source/bindings/core/v8/V8ScriptRunner.h
+++ b/Source/bindings/core/v8/V8ScriptRunner.h
@@ -29,6 +29,7 @@
#include "bindings/core/v8/V8CacheOptions.h"
#include "core/CoreExport.h"
#include "core/fetch/AccessControlStatus.h"
+#include "wtf/Allocator.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/text/TextPosition.h"
#include "wtf/text/WTFString.h"
@@ -44,6 +45,7 @@ class ExecutionContext;
class ScriptStreamer;
class CORE_EXPORT V8ScriptRunner final {
+ STATIC_ONLY(V8ScriptRunner);
public:
// For the following methods, the caller sites have to hold
// a HandleScope and a ContextScope.

Powered by Google App Engine
This is Rietveld 408576698