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

Unified Diff: Source/bindings/scripts/v8_attributes.py

Issue 955413002: Log in Binding code for invalid enum type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « LayoutTests/webaudio/pannernode-basic-expected.txt ('k') | Source/bindings/templates/attributes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/v8_attributes.py
diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py
index f5231347261aa3b6079f1796a14c09d60e03c000..3bf7e3e6a23675ef8346783a72d1349117d5837b 100644
--- a/Source/bindings/scripts/v8_attributes.py
+++ b/Source/bindings/scripts/v8_attributes.py
@@ -50,6 +50,8 @@ def attribute_context(interface, attribute):
extended_attributes = attribute.extended_attributes
idl_type.add_includes_for_type()
+ if idl_type.enum_validation_expression:
+ includes.add('core/inspector/ConsoleMessage.h')
Paritosh Kumar 2015/03/25 04:28:55 Adding "core/inspector/ConsoleMessage.h" to includ
# [CheckSecurity]
is_check_security_for_node = 'CheckSecurity' in extended_attributes
« no previous file with comments | « LayoutTests/webaudio/pannernode-basic-expected.txt ('k') | Source/bindings/templates/attributes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698