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

Unified Diff: media/midi/midi_manager_win.cc

Issue 1117603002: media/midi: Fix warnings found by clang chromium-style plugin on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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_win.h ('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 a911ff6d5f371dcc93c4a4bda5ad357bdc566af5..593727864494e55f6ac7256244109be765c4073b 100644
--- a/media/midi/midi_manager_win.cc
+++ b/media/midi/midi_manager_win.cc
@@ -1093,6 +1093,13 @@ class MidiServiceWinImpl : public MidiServiceWin,
} // namespace
+MidiManagerWin::MidiManagerWin() {
+}
+
+MidiManagerWin::~MidiManagerWin() {
+ midi_service_.reset();
Nico 2015/04/29 03:21:49 Is the explicit reset() call needed at all? There'
+}
+
void MidiManagerWin::StartInitialization() {
midi_service_.reset(new MidiServiceWinImpl);
// Note that |CompleteInitialization()| will be called from the callback.
« no previous file with comments | « media/midi/midi_manager_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698