| Index: Source/web/WebFrameImpl.cpp
|
| diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
|
| index 9c9c69c74eb53da0f71f9557d674702a995822d9..28d1682d2de8e94e936674f36d8f2308ea5ee083 100644
|
| --- a/Source/web/WebFrameImpl.cpp
|
| +++ b/Source/web/WebFrameImpl.cpp
|
| @@ -752,6 +752,13 @@ bool WebFrameImpl::dispatchBeforeUnloadEvent()
|
| return frame()->loader().shouldClose();
|
| }
|
|
|
| +void WebFrameImpl::dispatchUnloadEvent()
|
| +{
|
| + if (!frame())
|
| + return;
|
| + frame()->loader().closeURL();
|
| +}
|
| +
|
| NPObject* WebFrameImpl::windowObject() const
|
| {
|
| if (!frame())
|
|
|