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 0a95825d377ef661e08741cce3484062ee154631..fa06934bac15c8e7388e88101613f84f590f5679 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -461,6 +461,7 @@ WebPreferences RenderViewHostImpl::GetWebkitPrefs(const GURL& url) { |
} |
prefs.is_online = !net::NetworkChangeNotifier::IsOffline(); |
+ prefs.connection_type = net::NetworkChangeNotifier::GetConnectionType(); |
prefs.fixed_position_creates_stacking_context = !command_line.HasSwitch( |
switches::kDisableFixedPositionCreatesStackingContext); |