| Index: Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
|
| index fcbedc571a32e4330605e33fe2ac5c88734d7b2e..d9d281ff781333e877a0659c825adaa1fb94ca22 100644
|
| --- a/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -737,8 +737,7 @@ Element* LocalDOMWindow::frameElement() const
|
| return nullptr;
|
|
|
| // The bindings security check should ensure we're same origin...
|
| - ASSERT(!frame()->owner() || frame()->owner()->isLocal());
|
| - return frame()->deprecatedLocalOwner();
|
| + return toHTMLFrameOwnerElement(frame()->owner());
|
| }
|
|
|
| void LocalDOMWindow::focus(ExecutionContext* context)
|
|
|