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

Unified Diff: Source/bindings/templates/interface.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
Index: Source/bindings/templates/interface.h
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h
index a8245b24159650778c5cfe9f04fc7a4510732b38..d54b4b56ede951416243f40dce82181596d0c4be 100644
--- a/Source/bindings/templates/interface.h
+++ b/Source/bindings/templates/interface.h
@@ -14,6 +14,7 @@ class Dictionary;
{% endif %}
{% if named_constructor %}
class {{v8_class}}Constructor {
+ STATIC_ONLY({{v8_class}}Constructor);
public:
static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*);
static const WrapperTypeInfo wrapperTypeInfo;
@@ -21,9 +22,11 @@ public:
{% endif %}
class {{v8_class}} {
+ STATIC_ONLY({{v8_class}});
public:
{% if has_private_script %}
class PrivateScript {
+ STATIC_ONLY(PrivateScript);
public:
{% for method in methods if method.is_implemented_in_private_script %}
static bool {{method.name}}Method({{method.argument_declarations_for_private_script | join(', ')}});
« no previous file with comments | « Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h ('k') | Source/bindings/templates/partial_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698