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

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

Issue 2805813004: bindings: Preprocess IDL types in native_value_traits_type_name(). (Closed)
Patch Set: Rebase after The Blink Rename Created 3 years, 8 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 | « no previous file | third_party/WebKit/Source/bindings/tests/idls/core/TestDictionary.idl » ('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_types.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_types.py b/third_party/WebKit/Source/bindings/scripts/v8_types.py
index 6c14c4bbfa97e573cd863818cf843c4440198d00..3e3cf395e2a1eb03879486e160d767274f4392d0 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_types.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_types.py
@@ -548,6 +548,8 @@ IdlType.v8_conversion_is_trivial = property(v8_conversion_is_trivial)
def native_value_traits_type_name(idl_type):
+ idl_type = idl_type.preprocessed_type
+
if idl_type.is_nullable:
idl_type = idl_type.inner_type
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/tests/idls/core/TestDictionary.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698