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

Unified Diff: content/browser/loader/navigation_url_loader_network_service.cc

Issue 2871323005: Fix crash in DataUrlNavigationBrowserTest.PDF_FormPost_Block with --enable-network-service. (Closed)
Patch Set: Created 3 years, 7 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/browser/loader/navigation_url_loader_network_service.cc
diff --git a/content/browser/loader/navigation_url_loader_network_service.cc b/content/browser/loader/navigation_url_loader_network_service.cc
index 1f7d42831ef96cf2b2f6389fd629c01a6fb39132..5ea32da0135125cc715ca06d52b86eb1e0c89617 100644
--- a/content/browser/loader/navigation_url_loader_network_service.cc
+++ b/content/browser/loader/navigation_url_loader_network_service.cc
@@ -134,7 +134,8 @@ NavigationURLLoaderNetworkService::NavigationURLLoaderNetworkService(
BrowserThread::IO, FROM_HERE,
base::Bind(
&PrepareNavigationOnIOThread, base::Passed(std::move(new_request)),
- resource_context, resource_type, appcache_handle->core(),
+ resource_context, resource_type,
+ appcache_handle ? appcache_handle->core() : nullptr,
base::Bind(&NavigationURLLoaderNetworkService::StartURLRequest,
weak_factory_.GetWeakPtr())));
return;
« 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