diff options
Diffstat (limited to 'android_webview/native')
-rw-r--r-- | android_webview/native/aw_contents_statics.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/native/aw_contents_statics.cc b/android_webview/native/aw_contents_statics.cc index 70525af..0cd4964 100644 --- a/android_webview/native/aw_contents_statics.cc +++ b/android_webview/native/aw_contents_statics.cc @@ -54,8 +54,8 @@ void SetDataReductionProxyKey(JNIEnv* env, jclass, jstring key) { DCHECK(browser_context); DataReductionProxySettings* drp_settings = browser_context->GetDataReductionProxySettings(); - if (drp_settings) - drp_settings->params()->set_key(ConvertJavaStringToUTF8(env, key)); + DCHECK(drp_settings); + drp_settings->set_key(ConvertJavaStringToUTF8(env, key)); } // static |