Index: webrtc/p2p/base/turnport_unittest.cc |
diff --git a/webrtc/p2p/base/turnport_unittest.cc b/webrtc/p2p/base/turnport_unittest.cc |
index e0b14201064bcafedb4cc9e951b3ed86468f260a..edad8122da80870bad96a80382703054fac2850e 100644 |
--- a/webrtc/p2p/base/turnport_unittest.cc |
+++ b/webrtc/p2p/base/turnport_unittest.cc |
@@ -334,7 +334,8 @@ class TurnPortTest : public testing::Test, |
} |
bool CheckConnectionFailedAndPruned(Connection* conn) { |
- return conn && !conn->active() && conn->state() == Connection::STATE_FAILED; |
+ return conn && !conn->active() && |
+ conn->state() == IceCandidatePairState::FAILED; |
} |
// Checks that |turn_port_| has a nonempty set of connections and they are all |