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 dc18cf246643ba8fa23fbe66bbbaaa04d0cd94c8..a7b97cee8ed012d253570a0541678b76bc4f6434 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_types.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_types.py |
@@ -111,6 +111,7 @@ CPP_SPECIAL_CONVERSION_RULES = { |
'Date': 'double', |
'Dictionary': 'Dictionary', |
'EventHandler': 'EventListener*', |
+ 'EventListener': 'EventListener*', |
'NodeFilter': 'NodeFilter*', |
'Promise': 'ScriptPromise', |
'ScriptValue': 'ScriptValue', |
@@ -179,7 +180,7 @@ def cpp_type(idl_type, extended_attributes=None, raw_type=False, used_as_rvalue_ |
if base_idl_type in CPP_SPECIAL_CONVERSION_RULES: |
return CPP_SPECIAL_CONVERSION_RULES[base_idl_type] |
- if base_idl_type in NON_WRAPPER_TYPES: |
+ if base_idl_type == 'SerializedScriptValue': |
return ('PassRefPtr<%s>' if used_as_rvalue_type else 'RefPtr<%s>') % base_idl_type |
if idl_type.is_string_type: |
if not raw_type: |