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

Unified Diff: media/cast/net/cast_transport_config.h

Issue 2234753002: media: 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 | « media/blink/cdm_session_adapter.cc ('k') | media/cast/sender/audio_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/cast_transport_config.h
diff --git a/media/cast/net/cast_transport_config.h b/media/cast/net/cast_transport_config.h
index 35729888c7fdd7e67641d79511bf7d5fea5bcf37..3ba95dce590c78cbbdbaf7c2deaecdd18182314d 100644
--- a/media/cast/net/cast_transport_config.h
+++ b/media/cast/net/cast_transport_config.h
@@ -106,10 +106,10 @@ struct EncodedFrame {
// Convenience accessors to data as an array of uint8_t elements.
const uint8_t* bytes() const {
return reinterpret_cast<uint8_t*>(
- string_as_array(const_cast<std::string*>(&data)));
+ base::string_as_array(const_cast<std::string*>(&data)));
}
uint8_t* mutable_bytes() {
- return reinterpret_cast<uint8_t*>(string_as_array(&data));
+ return reinterpret_cast<uint8_t*>(base::string_as_array(&data));
}
// Copies all data members except |data| to |dest|.
« no previous file with comments | « media/blink/cdm_session_adapter.cc ('k') | media/cast/sender/audio_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698