Chromium Code Reviews| Index: Source/core/frame/LocalDOMWindow.cpp |
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp |
| index fcbedc571a32e4330605e33fe2ac5c88734d7b2e..9339ef441d916b4baa9d7c3a520651bb3d49ab70 100644 |
| --- a/Source/core/frame/LocalDOMWindow.cpp |
| +++ b/Source/core/frame/LocalDOMWindow.cpp |
| @@ -738,7 +738,7 @@ Element* LocalDOMWindow::frameElement() const |
| // The bindings security check should ensure we're same origin... |
| ASSERT(!frame()->owner() || frame()->owner()->isLocal()); |
|
dcheng
2015/04/30 21:18:13
Minor nit: the isLocal() becomes redundant here.
alexmos
2015/04/30 22:29:57
Yeah, I suppose this whole ASSERT is now redundant
|
| - return frame()->deprecatedLocalOwner(); |
| + return toHTMLFrameOwnerElement(frame()->owner()); |
| } |
| void LocalDOMWindow::focus(ExecutionContext* context) |