summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/pairing_host_authenticator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/pairing_host_authenticator.cc')
-rw-r--r--remoting/protocol/pairing_host_authenticator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/pairing_host_authenticator.cc b/remoting/protocol/pairing_host_authenticator.cc
index 75db3a7a..bd1f75d 100644
--- a/remoting/protocol/pairing_host_authenticator.cc
+++ b/remoting/protocol/pairing_host_authenticator.cc
@@ -97,7 +97,7 @@ void PairingHostAuthenticator::ProcessMessageWithPairing(
const base::Closure& resume_callback,
PairingRegistry::Pairing pairing) {
waiting_for_paired_secret_ = false;
- std::string paired_secret = pairing.shared_secret;
+ std::string paired_secret = pairing.shared_secret();
if (paired_secret.empty()) {
LOG(INFO) << "Unknown client id";
error_message_ = "unknown-client-id";