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

Unified Diff: Source/bindings/templates/callback_interface.h

Issue 80153003: IDL compiler: [CustomLegacyCall] interfaces, cleanup header conditional spacing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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/scripts/unstable/v8_interface.py ('k') | Source/bindings/templates/interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/callback_interface.h
diff --git a/Source/bindings/templates/callback_interface.h b/Source/bindings/templates/callback_interface.h
index d0da29bea5f8c6207b4b084bad9dbf515dffa30b..eaf7529220bcdc3b26021c7685d497825967c196 100644
--- a/Source/bindings/templates/callback_interface.h
+++ b/Source/bindings/templates/callback_interface.h
@@ -35,9 +35,7 @@
#ifndef {{v8_class_name}}_h
#define {{v8_class_name}}_h
-{% if conditional_string %}
-#if {{conditional_string}}
-{% endif %}
+{% filter conditional(conditional_string) %}
{% for filename in header_includes %}
#include "{{filename}}"
{% endfor %}
@@ -71,8 +69,5 @@ private:
};
}
-
-{% if conditional_string %}
-#endif // {{conditional_string}}
-{% endif %}
+{% endfilter %}
#endif // {{v8_class_name}}_h
« no previous file with comments | « Source/bindings/scripts/unstable/v8_interface.py ('k') | Source/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698