Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 9f8c806f176b45b7cbcc18cef84471d6f52547d8..8f879c40ed9c435dd1acdd18c68b6bb5d9be392e 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -425,6 +425,10 @@ void RenderViewHostImpl::FirePageBeforeUnload(bool for_cross_site_transition) { |
} |
} |
+void RenderViewHostImpl::SuppressDialogsUntilSwapOut() { |
+ Send(new ViewMsg_SuppressDialogsUntilSwapOut(GetRoutingID())); |
+} |
+ |
void RenderViewHostImpl::SwapOut() { |
// This will be set back to false in OnSwapOutACK, just before we replace |
// this RVH with the pending RVH. |