Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1835833002: Fix 3 crashes related to navigations after a process dies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes from review Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 bool swapped_out, 215 bool swapped_out,
216 bool has_initialized_audio_host) 216 bool has_initialized_audio_host)
217 : render_widget_host_(std::move(widget)), 217 : render_widget_host_(std::move(widget)),
218 frames_ref_count_(0), 218 frames_ref_count_(0),
219 delegate_(delegate), 219 delegate_(delegate),
220 instance_(static_cast<SiteInstanceImpl*>(instance)), 220 instance_(static_cast<SiteInstanceImpl*>(instance)),
221 waiting_for_drag_context_response_(false), 221 waiting_for_drag_context_response_(false),
222 enabled_bindings_(0), 222 enabled_bindings_(0),
223 page_id_(-1), 223 page_id_(-1),
224 is_active_(!swapped_out), 224 is_active_(!swapped_out),
225 is_pending_deletion_(false),
226 is_swapped_out_(swapped_out), 225 is_swapped_out_(swapped_out),
227 main_frame_routing_id_(main_frame_routing_id), 226 main_frame_routing_id_(main_frame_routing_id),
228 is_waiting_for_close_ack_(false), 227 is_waiting_for_close_ack_(false),
229 sudden_termination_allowed_(false), 228 sudden_termination_allowed_(false),
230 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING), 229 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING),
231 virtual_keyboard_requested_(false), 230 virtual_keyboard_requested_(false),
232 is_focused_element_editable_(false), 231 is_focused_element_editable_(false),
233 updating_web_preferences_(false), 232 updating_web_preferences_(false),
234 render_view_ready_on_process_launch_(false), 233 render_view_ready_on_process_launch_(false),
235 weak_factory_(this) { 234 weak_factory_(this) {
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 } else { 1351 } else {
1353 render_view_ready_on_process_launch_ = true; 1352 render_view_ready_on_process_launch_ = true;
1354 } 1353 }
1355 } 1354 }
1356 1355
1357 void RenderViewHostImpl::RenderViewReady() { 1356 void RenderViewHostImpl::RenderViewReady() {
1358 delegate_->RenderViewReady(this); 1357 delegate_->RenderViewReady(this);
1359 } 1358 }
1360 1359
1361 } // namespace content 1360 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698