summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/html_viewer/blink_settings_impl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/html_viewer/blink_settings_impl.cc b/components/html_viewer/blink_settings_impl.cc
index a2b3180..e787861 100644
--- a/components/html_viewer/blink_settings_impl.cc
+++ b/components/html_viewer/blink_settings_impl.cc
@@ -50,9 +50,11 @@ blink::WebConnectionType NetConnectionTypeToWebConnectionType(
case net::NetworkChangeNotifier::CONNECTION_NONE:
return blink::WebConnectionTypeNone;
case net::NetworkChangeNotifier::CONNECTION_2G:
+ return blink::WebConnectionTypeCellular2G;
case net::NetworkChangeNotifier::CONNECTION_3G:
+ return blink::WebConnectionTypeCellular3G;
case net::NetworkChangeNotifier::CONNECTION_4G:
- return blink::WebConnectionTypeCellular;
+ return blink::WebConnectionTypeCellular4G;
case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
return blink::WebConnectionTypeBluetooth;
}