Index: webkit/glue/webframe_impl.cc |
=================================================================== |
--- webkit/glue/webframe_impl.cc (revision 14126) |
+++ webkit/glue/webframe_impl.cc (working copy) |
@@ -1933,7 +1933,7 @@ |
} |
int WebFrameImpl::PendingFrameUnloadEventCount() const { |
- return frame()->eventHandler()->pendingFrameUnloadEventCount(); |
+ return frame()->domWindow()->pendingUnloadEventListeners(); |
} |
void WebFrameImpl::RegisterPasswordListener( |