Commit e59879ed authored by Daniel Nicoara's avatar Daniel Nicoara Committed by Commit Bot

Change NOTREACHED to LOG(ERROR)

Fix crashes when DCHECKs enabled since we are running into this issue.

Bug: b/143316162
Test: None
Change-Id: Ic4f20131281f1cbc0f7f80f5377804fb40731f46
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884818Reviewed-by: default avatarSean Topping <seantopping@chromium.org>
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710017}
parent 6a9d8b41
......@@ -973,7 +973,7 @@ void CastContentBrowserClient::RegisterNonNetworkSubresourceURLLoaderFactories(
int render_frame_id,
NonNetworkURLLoaderFactoryMap* factories) {
if (render_frame_id == MSG_ROUTING_NONE) {
NOTREACHED() << "Service worker not supported.";
LOG(ERROR) << "Service worker not supported.";
return;
}
content::RenderFrameHost* frame_host =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment