Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 422441feb06a888794a705c562f0e1e158509a01..3363c5145d5073b0496c15a23a5933a3ec549962 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -523,6 +523,11 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() { |
prefs.strict_powerful_feature_restrictions = command_line.HasSwitch( |
switches::kEnableStrictPowerfulFeatureRestrictions); |
+ const std::string blockable_mixed_content_group = |
+ base::FieldTrialList::FindFullName("BlockableMixedContent"); |
+ prefs.strictly_block_blockable_mixed_content = |
+ blockable_mixed_content_group == "StrictlyBlockBlockableMixedContent"; |
+ |
prefs.v8_cache_options = GetV8CacheOptions(); |
GetContentClient()->browser()->OverrideWebkitPrefs(this, &prefs); |