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

Unified Diff: remoting/host/remoting_me2me_host.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_unittest.cc ('k') | remoting/host/service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index da4787f524aac87309450d5fcebb41a69eb0c5f7..1ac47ccd9fecc59d6649367da75943303c516107 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -633,7 +633,7 @@ bool HostProcess::ApplyConfig(scoped_ptr<JsonHostConfig> config) {
}
key_pair_ = RsaKeyPair::FromString(key_base64);
- if (!key_pair_) {
+ if (!key_pair_.get()) {
LOG(ERROR) << "Invalid private key in the config file.";
return false;
}
« no previous file with comments | « remoting/host/register_support_host_request_unittest.cc ('k') | remoting/host/service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698