Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 486f8b1112f44f47b3cce526b48ac0d7b5cc9460..450d41bfa3b79357aa4a52e9a2233397f4116d30 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -2211,21 +2211,21 @@ void Internals::setNetworkStateNotifierTestOnly(bool testOnly) |
void Internals::setNetworkConnectionInfo(const String& type, ExceptionState& exceptionState) |
{ |
- blink::WebConnectionType webtype; |
+ WebConnectionType webtype; |
if (type == "cellular") { |
- webtype = blink::ConnectionTypeCellular; |
+ webtype = ConnectionTypeCellular; |
} else if (type == "bluetooth") { |
- webtype = blink::ConnectionTypeBluetooth; |
+ webtype = ConnectionTypeBluetooth; |
} else if (type == "ethernet") { |
- webtype = blink::ConnectionTypeEthernet; |
+ webtype = ConnectionTypeEthernet; |
} else if (type == "wifi") { |
- webtype = blink::ConnectionTypeWifi; |
+ webtype = ConnectionTypeWifi; |
} else if (type == "other") { |
- webtype = blink::ConnectionTypeOther; |
+ webtype = ConnectionTypeOther; |
} else if (type == "none") { |
- webtype = blink::ConnectionTypeNone; |
+ webtype = ConnectionTypeNone; |
} else if (type == "unknown") { |
- webtype = blink::ConnectionTypeUnknown; |
+ webtype = ConnectionTypeUnknown; |
} else { |
exceptionState.throwDOMException(NotFoundError, ExceptionMessages::failedToEnumerate("connection type", type)); |
return; |