| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index b4915e5797726c4a1550bdd833262039af5a135d..4a44e7228dc0ce23b2376546459023e7542a645f 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -23,7 +23,7 @@ static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const
|
| {# Security checks #}
|
| {# FIXME: change to method.is_check_security_for_window #}
|
| {% if interface_name == 'EventTarget' %}
|
| - if (DOMWindow* window = impl->toDOMWindow()) {
|
| + if (LocalDOMWindow* window = impl->toDOMWindow()) {
|
| if (!BindingSecurity::shouldAllowAccessToFrame(info.GetIsolate(), window->frame(), exceptionState)) {
|
| {{throw_from_exception_state(method)}};
|
| return;
|
|
|