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

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_union.py

Issue 2559323004: bindings: Stop using forward declarations for typed array in union containers (Closed)
Patch Set: Created 4 years 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 | « no previous file | third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/scripts/v8_union.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_union.py b/third_party/WebKit/Source/bindings/scripts/v8_union.py
index 407d2c16c7dda7bdae785d1ba88014318c2d4ecb..84dd56bd855e95f52b2fe19542e90d829d7afe9a 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_union.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_union.py
@@ -121,7 +121,7 @@ def _update_includes_and_forward_decls(member, interface_info):
cpp_includes.update(interface_info.get(
'dependencies_include_paths', []))
# We need complete types for IDL dictionaries in union containers.
- if member.is_dictionary:
+ if member.is_dictionary or member.is_typed_array:
header_includes.update(member.includes_for_type())
else:
cpp_includes.update(member.includes_for_type())
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698