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

Unified Diff: Source/bindings/scripts/unstable/v8_callback_interface.py

Issue 179423002: Use a class for CodeGeneratorV8 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tweaks Created 6 years, 10 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/scripts/unstable/v8_callback_interface.py
diff --git a/Source/bindings/scripts/unstable/v8_callback_interface.py b/Source/bindings/scripts/unstable/v8_callback_interface.py
index 4f95fab5f7453ca48e7d0cc4f7acfcc0d7304193..64fa4b7b8c674b2f2134c2e54f06d135a9aeaaaf 100644
--- a/Source/bindings/scripts/unstable/v8_callback_interface.py
+++ b/Source/bindings/scripts/unstable/v8_callback_interface.py
@@ -39,12 +39,12 @@ from v8_globals import includes
import v8_types
import v8_utilities
-CALLBACK_INTERFACE_H_INCLUDES = set([
+CALLBACK_INTERFACE_H_INCLUDES = frozenset([
'bindings/v8/ActiveDOMCallback.h',
'bindings/v8/DOMWrapperWorld.h',
'bindings/v8/ScopedPersistent.h',
])
-CALLBACK_INTERFACE_CPP_INCLUDES = set([
+CALLBACK_INTERFACE_CPP_INCLUDES = frozenset([
'bindings/v8/V8Binding.h',
'bindings/v8/V8Callback.h',
'core/dom/ExecutionContext.h',
@@ -89,7 +89,7 @@ def generate_callback_interface(callback_interface):
'conditional_string': v8_utilities.conditional_string(callback_interface),
'cpp_class': name,
'v8_class': v8_utilities.v8_class_name(callback_interface),
- 'header_includes': CALLBACK_INTERFACE_H_INCLUDES,
+ 'header_includes': set(CALLBACK_INTERFACE_H_INCLUDES),
'methods': methods,
}
return template_contents
« no previous file with comments | « Source/bindings/scripts/unstable/interface_dependency_resolver.py ('k') | Source/bindings/scripts/unstable/v8_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698