Index: chrome/browser/net/net_pref_observer.cc |
=================================================================== |
--- chrome/browser/net/net_pref_observer.cc (revision 156023) |
+++ chrome/browser/net/net_pref_observer.cc (working copy) |
@@ -47,7 +47,8 @@ |
predictor_->EnablePredictor(*network_prediction_enabled_); |
if (prerender_manager_) |
prerender_manager_->set_enabled(*network_prediction_enabled_); |
- net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_); |
+ if (net::HttpStreamFactory::spdy_enabled()) |
+ net::HttpStreamFactory::set_spdy_enabled(!*spdy_disabled_); |
mmenke
2012/09/12 01:31:17
This removes the ability of modifying the policy v
ramant (doing other things)
2012/09/12 01:51:52
Correct. My proposal is for the user to run withou
mmenke
2012/09/12 02:02:45
I was just concerned about the preference being di
|
} |
// static |