Index: net/base/network_change_notifier_unittest.cc |
diff --git a/net/base/network_change_notifier_unittest.cc b/net/base/network_change_notifier_unittest.cc |
index 7bc2ba66fa121e00427fda8771ddcedec4938bd4..674260789a6986e1fae1627389a56b08d75feb2c 100644 |
--- a/net/base/network_change_notifier_unittest.cc |
+++ b/net/base/network_change_notifier_unittest.cc |
@@ -14,8 +14,10 @@ namespace net { |
// alter the ranges of these tests. |
TEST(NetworkChangeNotifierTest, NetMaxBandwidthRange) { |
NetworkChangeNotifier::ConnectionType connection_type = |
- NetworkChangeNotifier::GetConnectionType(); |
- double max_bandwidth = NetworkChangeNotifier::GetMaxBandwidth(); |
+ NetworkChangeNotifier::CONNECTION_NONE; |
+ double max_bandwidth = 0.0; |
+ NetworkChangeNotifier::GetMaxBandwidthAndConnectionType(&max_bandwidth, |
+ &connection_type); |
// Always accept infinity as it's the default value if the bandwidth is |
// unknown. |