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

Unified Diff: content/renderer/render_view_impl.cc

Issue 1618063003: Test theory about didCommitProvisionalLoad crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index ec0938163cdf6c70261ee7f38f8807025c098a19..e1ce6bb2e4c5ebd765ddaf025ae84a5504cbfaf3 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -691,13 +691,13 @@ void RenderViewImpl::Initialize(const ViewMsg_New_Params& params,
if (params.proxy_routing_id != MSG_ROUTING_NONE) {
CHECK(params.swapped_out);
if (main_render_frame_) {
- DCHECK(!SiteIsolationPolicy::IsSwappedOutStateForbidden());
+ CHECK(!SiteIsolationPolicy::IsSwappedOutStateForbidden());
Charlie Reis 2016/01/22 18:00:51 I suspect that we'll fail this check rather than c
RenderFrameProxy* proxy = RenderFrameProxy::CreateProxyToReplaceFrame(
main_render_frame_, params.proxy_routing_id,
blink::WebTreeScopeType::Document);
main_render_frame_->set_render_frame_proxy(proxy);
} else {
- DCHECK(SiteIsolationPolicy::IsSwappedOutStateForbidden());
+ CHECK(SiteIsolationPolicy::IsSwappedOutStateForbidden());
// Pass MSG_ROUTING_NONE for opener, since actual opener (if any) will be
// set separately below.
RenderFrameProxy::CreateFrameProxy(params.proxy_routing_id, routing_id(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698