| 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 64c7bcd165938bfad9afbd011523b4796d4ecfbf..672f0bded42b6afb2ad2cc49d3af4c9c2017a733 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -4032,7 +4032,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.
|
| @@ -4048,7 +4048,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)
|
|
|