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

Unified Diff: remoting/host/linux/audio_pipe_reader.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/linux/audio_pipe_reader.cc
diff --git a/remoting/host/linux/audio_pipe_reader.cc b/remoting/host/linux/audio_pipe_reader.cc
index 691e78bb9c71d4f2166bd246e39f1a5bc6c590c2..c8d090ec0a96a302bca5fbb7af529385363a25e0 100644
--- a/remoting/host/linux/audio_pipe_reader.cc
+++ b/remoting/host/linux/audio_pipe_reader.cc
@@ -161,8 +161,8 @@ void AudioPipeReader::DoCapture() {
data.resize(pos + bytes_to_read);
while (pos < data.size()) {
- int read_result =
- pipe_.ReadAtCurrentPos(string_as_array(&data) + pos, data.size() - pos);
+ int read_result = pipe_.ReadAtCurrentPos(base::string_as_array(&data) + pos,
+ data.size() - pos);
if (read_result > 0) {
pos += read_result;
} else {
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host_unittest.cc ('k') | remoting/host/native_messaging/native_messaging_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698