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

Unified Diff: media/audio/win/audio_low_latency_output_win_unittest.cc

Issue 8965053: Implement support for a cancelable SyncSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using a single event for file operations on Windows. Some comment improvements. Created 9 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/audio/win/audio_low_latency_output_win_unittest.cc
diff --git a/media/audio/win/audio_low_latency_output_win_unittest.cc b/media/audio/win/audio_low_latency_output_win_unittest.cc
index fbb4a5fbdf46c45d3ce60acf675db62d88f6eb91..ca156cbc7e1bda077149773b5e4313b68b3eec28 100644
--- a/media/audio/win/audio_low_latency_output_win_unittest.cc
+++ b/media/audio/win/audio_low_latency_output_win_unittest.cc
@@ -468,7 +468,7 @@ TEST(WinAudioOutputTest, WASAPIAudioOutputStreamTestMono) {
bool opened;
EXPECT_TRUE(opened = aos->Open());
if (!opened) {
- delete aos;
+ aos->Close();
return;
}
// Derive the expected size in bytes of each packet.

Powered by Google App Engine
This is Rietveld 408576698