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

Unified Diff: net/filter/sdch_policy_delegate.cc

Issue 2451233002: Make request fail with ERR_CONTENT_DECODING_INIT_FAILED if sdch is not supported (Closed)
Patch Set: Address Matt's comment Created 4 years, 2 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 | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/sdch_policy_delegate.cc
diff --git a/net/filter/sdch_policy_delegate.cc b/net/filter/sdch_policy_delegate.cc
index 82b6541b285b15da693180d302212f861a1be4ce..e652445e509b8b718c96693f55938f70c437a35e 100644
--- a/net/filter/sdch_policy_delegate.cc
+++ b/net/filter/sdch_policy_delegate.cc
@@ -133,7 +133,9 @@ SdchPolicyDelegate::SdchPolicyDelegate(
sdch_manager_(sdch_manager),
dictionary_set_(std::move(dictionary_set)),
response_code_(response_code),
- net_log_(net_log) {}
+ net_log_(net_log) {
+ DCHECK(sdch_manager_);
+}
SdchPolicyDelegate::~SdchPolicyDelegate() {}
« no previous file with comments | « no previous file | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698