| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index ae5bfbd527bd6b238a2662ce2f2303b54adba2ed..c243bbdd886dd4ccfc7d28aa42ff612701e6acdd 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;
|
|
|