| Index: Source/web/WebFrameImpl.cpp
|
| diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
|
| index b77f1206377c41769aa70062332ad392838b994e..7e1777552394851706f850f9da41a4fa079a3266 100644
|
| --- a/Source/web/WebFrameImpl.cpp
|
| +++ b/Source/web/WebFrameImpl.cpp
|
| @@ -777,6 +777,13 @@ WebPerformance WebFrameImpl::performance() const
|
| return WebPerformance(&frame()->domWindow()->performance());
|
| }
|
|
|
| +bool WebFrameImpl::dispatchBeforeUnloadEvent()
|
| +{
|
| + if (!frame())
|
| + return true;
|
| + return frame()->loader().shouldClose();
|
| +}
|
| +
|
| NPObject* WebFrameImpl::windowObject() const
|
| {
|
| if (!frame())
|
|
|