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

Unified Diff: remoting/host/security_key/security_key_message_reader_impl.cc

Issue 2230193002: remoting: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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
Index: remoting/host/security_key/security_key_message_reader_impl.cc
diff --git a/remoting/host/security_key/security_key_message_reader_impl.cc b/remoting/host/security_key/security_key_message_reader_impl.cc
index d129c87cedbbf4078e5a441a3f9b1740505ceab8..0d283f946257c840c9e359d0fb6f7d981fbbdfe5 100644
--- a/remoting/host/security_key/security_key_message_reader_impl.cc
+++ b/remoting/host/security_key/security_key_message_reader_impl.cc
@@ -77,7 +77,8 @@ void SecurityKeyMessageReaderImpl::ReadMessage() {
}
std::string message_data(message_length_bytes, '\0');
- if (!ReadFromStream(string_as_array(&message_data), message_data.size())) {
+ if (!ReadFromStream(base::string_as_array(&message_data),
+ message_data.size())) {
NotifyError();
return;
}

Powered by Google App Engine
This is Rietveld 408576698