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

Unified Diff: remoting/host/register_support_host_request_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/register_support_host_request.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/register_support_host_request_unittest.cc
diff --git a/remoting/host/register_support_host_request_unittest.cc b/remoting/host/register_support_host_request_unittest.cc
index 035a5cebe6534367984238a7efc70958972050c5..d7c24cee0015b37f1d1ed5047e3a6b168f4c2e75 100644
--- a/remoting/host/register_support_host_request_unittest.cc
+++ b/remoting/host/register_support_host_request_unittest.cc
@@ -59,7 +59,7 @@ class RegisterSupportHostRequestTest : public testing::Test {
protected:
virtual void SetUp() {
key_pair_ = RsaKeyPair::FromString(kTestRsaKeyPair);
- ASSERT_TRUE(key_pair_);
+ ASSERT_TRUE(key_pair_.get());
EXPECT_CALL(signal_strategy_, AddListener(NotNull()))
.WillRepeatedly(AddListener(&signal_strategy_listeners_));
@@ -120,7 +120,7 @@ TEST_F(RegisterSupportHostRequestTest, Send) {
EXPECT_GE(now, time);
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) + ' ' + time_str);
« no previous file with comments | « remoting/host/register_support_host_request.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698