Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index b77f1206377c41769aa70062332ad392838b994e..b94aeae5a34f132a6105fa7f27b09aa4700e78c2 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -777,6 +777,14 @@ WebPerformance WebFrameImpl::performance() const |
return WebPerformance(&frame()->domWindow()->performance()); |
} |
+bool WebFrameImpl::dispatchBeforeUnloadEvent() |
+{ |
+ if (!frame()) |
+ return true; |
+ return frame()->loader().shouldClose(); |
+} |
+ |
+ |
abarth-chromium
2014/03/28 22:42:51
You've got an extra blank line here.
Avi (use Gerrit)
2014/03/29 01:30:24
Oops. Fixed.
|
NPObject* WebFrameImpl::windowObject() const |
{ |
if (!frame()) |