| Index: remoting/host/heartbeat_sender_unittest.cc
|
| diff --git a/remoting/host/heartbeat_sender_unittest.cc b/remoting/host/heartbeat_sender_unittest.cc
|
| index b5910a611331dfb1c60b4b952fa88fc5f7a31927..92094bf816accf0d16676c6346f54a59b163ccef 100644
|
| --- a/remoting/host/heartbeat_sender_unittest.cc
|
| +++ b/remoting/host/heartbeat_sender_unittest.cc
|
| @@ -59,7 +59,7 @@ class HeartbeatSenderTest
|
|
|
| virtual void SetUp() OVERRIDE {
|
| key_pair_ = RsaKeyPair::FromString(kTestRsaKeyPair);
|
| - ASSERT_TRUE(key_pair_);
|
| + ASSERT_TRUE(key_pair_.get());
|
|
|
| EXPECT_CALL(signal_strategy_, GetState())
|
| .WillOnce(Return(SignalStrategy::DISCONNECTED));
|
| @@ -238,7 +238,7 @@ void HeartbeatSenderTest::ValidateHeartbeatStanza(
|
| EXPECT_TRUE(heartbeat_stanza->NextNamed(signature_tag) == NULL);
|
|
|
| scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair);
|
| - ASSERT_TRUE(key_pair);
|
| + ASSERT_TRUE(key_pair.get());
|
| std::string expected_signature =
|
| key_pair->SignMessage(std::string(kTestJid) + ' ' + expectedSequenceId);
|
| EXPECT_EQ(expected_signature, signature->BodyText());
|
|
|