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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 1159143008: Fix wrong initialization of renderer_initiated_creation parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing mmenke@'s comments Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index c8cc6470d22ab8354ec7efc73f3fe424d35e1d55..49d1454a82051b1a60d3600347403b030b267268 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -652,12 +652,6 @@ bool RenderFrameHostImpl::CreateRenderFrame(int parent_routing_id,
bool RenderFrameHostImpl::IsRenderFrameLive() {
bool is_live = GetProcess()->HasConnection() && render_frame_created_;
- // If the process is for an isolated guest (e.g. <webview>), rely on the
- // RenderViewHost liveness check. Once https://crbug.com/492830 is fixed,
- // this can be removed.
- if (GetProcess()->IsIsolatedGuest())
- is_live = render_view_host_->IsRenderViewLive();
-
// Sanity check: the RenderView should always be live if the RenderFrame is.
DCHECK_IMPLIES(is_live, render_view_host_->IsRenderViewLive());
« no previous file with comments | « content/browser/frame_host/frame_tree_unittest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698