| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index ed80174bbefef2aa40157bd26095c747939708cf..f91b73d296a457bbc88e6ca09f2920e221099cfe 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -532,7 +532,7 @@ void LocalFrame::setDOMWindow(LocalDOMWindow* domWindow) {
|
| }
|
|
|
| Document* LocalFrame::document() const {
|
| - return m_domWindow ? m_domWindow->document() : nullptr;
|
| + return domWindow() ? domWindow()->document() : nullptr;
|
| }
|
|
|
| void LocalFrame::setPagePopupOwner(Element& owner) {
|
|
|