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

Unified Diff: media/midi/midi_manager_win.cc

Issue 2181163002: media: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/midi/midi_manager_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_win.cc
diff --git a/media/midi/midi_manager_win.cc b/media/midi/midi_manager_win.cc
index 610aa4f22eb484c2c0c263c5d2be90e15e6fbfb8..ebf4139813a62fedf942cb1d8c458aa37fecb4f0 100644
--- a/media/midi/midi_manager_win.cc
+++ b/media/midi/midi_manager_win.cc
@@ -445,7 +445,7 @@ class MidiServiceWinImpl : public MidiServiceWin,
input_devices.push_back(it.first);
}
{
- for (const auto handle : input_devices) {
+ for (auto* handle : input_devices) {
MMRESULT result = midiInClose(handle);
if (result == MIDIERR_STILLPLAYING) {
result = midiInReset(handle);
@@ -466,7 +466,7 @@ class MidiServiceWinImpl : public MidiServiceWin,
output_devices.push_back(it.first);
}
{
- for (const auto handle : output_devices) {
+ for (auto* handle : output_devices) {
MMRESULT result = midiOutClose(handle);
if (result == MIDIERR_STILLPLAYING) {
result = midiOutReset(handle);
« no previous file with comments | « media/midi/midi_manager_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698