Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: remoting/host/heartbeat_sender_unittest.cc

Issue 15782010: Update remoting/ and jingle/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/heartbeat_sender.cc ('k') | remoting/host/host_port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « remoting/host/heartbeat_sender.cc ('k') | remoting/host/host_port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698