Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/scripts/v8_callback_interface.py |
| diff --git a/third_party/WebKit/Source/bindings/scripts/v8_callback_interface.py b/third_party/WebKit/Source/bindings/scripts/v8_callback_interface.py |
| index 682cb55e27227428754bad68161a7c32e0de3a59..5606a23ed89e7ae27fc9e3757bc614a8d2205f24 100644 |
| --- a/third_party/WebKit/Source/bindings/scripts/v8_callback_interface.py |
| +++ b/third_party/WebKit/Source/bindings/scripts/v8_callback_interface.py |
| @@ -64,7 +64,7 @@ def cpp_type(idl_type): |
| # Callbacks use raw pointers, so raw_type=True |
| raw_cpp_type = idl_type.cpp_type_args(raw_type=True) |
| # Pass containers and dictionaries to callback method by const reference rather than by value |
|
sof
2016/02/09 15:45:45
duplicate
|
| - if raw_cpp_type.startswith(('Vector', 'HeapVector', 'WillBeHeapVector')) or idl_type.is_dictionary: |
| + if raw_cpp_type.startswith(('Vector', 'HeapVector', 'HeapVector')) or idl_type.is_dictionary: |
| return 'const %s&' % raw_cpp_type |
| return raw_cpp_type |