| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 3e97c088adcab4c8129c80b777867bfe3bb98146..d11d1f74a4609fdcb0c9878323255e41ab740442 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -350,6 +350,13 @@ void LocalFrame::disconnectOwnerElement()
|
| Frame::disconnectOwnerElement();
|
| }
|
|
|
| +bool LocalFrame::shouldClose()
|
| +{
|
| + // TODO(dcheng): This should be fixed to dispatch beforeunload events to
|
| + // both local and remote frames.
|
| + return m_loader.shouldClose();
|
| +}
|
| +
|
| void LocalFrame::willDetachFrameHost()
|
| {
|
| LocalFrameLifecycleNotifier::notifyWillDetachFrameHost();
|
|
|