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

Unified Diff: remoting/base/rsa_key_pair_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/base/rsa_key_pair.cc ('k') | remoting/base/socket_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/rsa_key_pair_unittest.cc
diff --git a/remoting/base/rsa_key_pair_unittest.cc b/remoting/base/rsa_key_pair_unittest.cc
index 4b3865901bc738531df41111057e6747e7941644..cb3c426fdd0bcabf379757cf6bfc822cf77a8654 100644
--- a/remoting/base/rsa_key_pair_unittest.cc
+++ b/remoting/base/rsa_key_pair_unittest.cc
@@ -75,7 +75,7 @@ TEST_F(RsaKeyPairTest, Signatures) {
TEST_F(RsaKeyPairTest, GenerateKey) {
// Test that we can generate a valid key.
scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::Generate();
- ASSERT_TRUE(key_pair);
+ ASSERT_TRUE(key_pair.get());
ASSERT_NE(key_pair->ToString(), "");
ASSERT_NE(key_pair->GetPublicKey(), "");
ASSERT_NE(key_pair->SignMessage(kTestMessage), "");
« no previous file with comments | « remoting/base/rsa_key_pair.cc ('k') | remoting/base/socket_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698