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

Unified Diff: remoting/client/jni/jni_display_handler.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
« no previous file with comments | « remoting/base/buffered_socket_writer.cc ('k') | remoting/codec/audio_decoder_opus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/jni_display_handler.cc
diff --git a/remoting/client/jni/jni_display_handler.cc b/remoting/client/jni/jni_display_handler.cc
index cd51e52a2d415883374cfc676f06e23e893d4c13..923a04659e00a86b735ac645f4476a4810c2c1c5 100644
--- a/remoting/client/jni/jni_display_handler.cc
+++ b/remoting/client/jni/jni_display_handler.cc
@@ -102,7 +102,8 @@ void JniDisplayHandler::SetCursorShape(
// the data out of the buffer without mutating it, and doesn't keep any
// reference to the buffer afterwards. Unfortunately, there seems to be no way
// to create a read-only ByteBuffer from a pointer-to-const.
- char* data = string_as_array(const_cast<std::string*>(&cursor_shape.data()));
+ char* data =
+ base::string_as_array(const_cast<std::string*>(&cursor_shape.data()));
int cursor_total_bytes =
cursor_shape.width() * cursor_shape.height() * kBytesPerPixel;
« no previous file with comments | « remoting/base/buffered_socket_writer.cc ('k') | remoting/codec/audio_decoder_opus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698