| Index: third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| index 43137dc9d98225944e18cfdd1fce805d56ffb8ed..6895925660debd0d4f5e95f45d367d2bb1a2d019 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| @@ -29,8 +29,12 @@ static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const
|
| return;
|
| }
|
| {% endif %}
|
| + {% if cpp_class_same_origin and not method.is_cross_origin %}
|
| + {{cpp_class_same_origin}}* impl = to{{cpp_class_same_origin}}({{v8_class}}::toImpl(info.Holder()));
|
| + {% else %}
|
| {{cpp_class}}* impl = {{v8_class}}::toImpl(info.Holder());
|
| {% endif %}
|
| + {% endif %}
|
|
|
| {# Security checks #}
|
| {% if method.is_check_security_for_receiver %}
|
|
|