Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 5b891f5487de5e086e1618da88c14d677e59a059..9462007e24aa7c71fbe22b47bd893022b68e5c79 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -4021,7 +4021,7 @@ void WebContentsImpl::RendererUnresponsive(RenderViewHost* render_view_host) { |
if (DevToolsAgentHost::IsDebuggerAttached(this)) |
return; |
- if (rfhi->is_waiting_for_beforeunload_ack() || |
+ if (rfhi->IsWaitingForBeforeUnloadACK() || |
rfhi->IsWaitingForUnloadACK()) { |
// Hang occurred while firing the beforeunload/unload handler. |
// Pretend the handler fired so tab closing continues as if it had. |
@@ -4037,7 +4037,7 @@ void WebContentsImpl::RendererUnresponsive(RenderViewHost* render_view_host) { |
// close. Otherwise, pretend the unload listeners have all fired and close |
// the tab. |
bool close = true; |
- if (rfhi->is_waiting_for_beforeunload_ack() && delegate_) { |
+ if (rfhi->IsWaitingForBeforeUnloadACK() && delegate_) { |
delegate_->BeforeUnloadFired(this, true, &close); |
} |
if (close) |