| 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 5c0ed1c3831289692449b02fe10a8503d391b4a0..278b030c92bc6a132e5d1b5c5e7a66b81ee71ed5 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -531,7 +531,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) {
|
|
|