| 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 f9ba939d844ad18acc9ababcfad18f576437144e..dae8b16eb92b621ebfc21b63e83cf6b19b4924e5 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -3983,7 +3983,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.
|
| @@ -3999,7 +3999,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)
|
|
|