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

Unified Diff: media/midi/midi_manager_android.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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: media/midi/midi_manager_android.cc
diff --git a/media/midi/midi_manager_android.cc b/media/midi/midi_manager_android.cc
index 8ce5127d12eb79b94c4da95ba7ab65b2d07bdb02..426493bff500c8f6a422a90c959ff143a10730c3 100644
--- a/media/midi/midi_manager_android.cc
+++ b/media/midi/midi_manager_android.cc
@@ -46,8 +46,8 @@ void MidiManagerAndroid::StartInitialization() {
}
void MidiManagerAndroid::DispatchSendMidiData(MidiManagerClient* client,
- uint32 port_index,
- const std::vector<uint8>& data,
+ uint32_t port_index,
+ const std::vector<uint8_t>& data,
double timestamp) {
if (port_index >= all_output_ports_.size()) {
// |port_index| is provided by a renderer so we can't believe that it is
@@ -76,7 +76,7 @@ void MidiManagerAndroid::DispatchSendMidiData(MidiManagerClient* client,
}
void MidiManagerAndroid::OnReceivedData(MidiInputPortAndroid* port,
- const uint8* data,
+ const uint8_t* data,
size_t size,
base::TimeTicks timestamp) {
const auto i = input_port_to_index_.find(port);

Powered by Google App Engine
This is Rietveld 408576698