| 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 5606a23ed89e7ae27fc9e3757bc614a8d2205f24..d6316bddb0d23352e2db9f542d5efa6b0b78d7aa 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
|
| - if raw_cpp_type.startswith(('Vector', 'HeapVector', 'HeapVector')) or idl_type.is_dictionary:
|
| + if raw_cpp_type.startswith(('Vector', 'HeapVector')) or idl_type.is_dictionary:
|
| return 'const %s&' % raw_cpp_type
|
| return raw_cpp_type
|
|
|
|
|