summaryrefslogtreecommitdiff
path: root/chromium/net
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net')
-rw-r--r--chromium/net/http/http_response_info.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/net/http/http_response_info.cc b/chromium/net/http/http_response_info.cc
index 72b007acd8a..9a17f2dd558 100644
--- a/chromium/net/http/http_response_info.cc
+++ b/chromium/net/http/http_response_info.cc
@@ -466,7 +466,8 @@ void HttpResponseInfo::Persist(base::Pickle* pickle,
HttpResponseHeaders::PERSIST_SANS_SECURITY_STATE;
}
- headers->Persist(pickle, persist_options);
+ if (headers.get())
+ headers->Persist(pickle, persist_options);
if (ssl_info.is_valid()) {
ssl_info.cert->Persist(pickle);