blob: 09cfeab169e1b2d17692d7e10b80bc0610fc3244 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- media/audio/audio_output_proxy_unittest.cc.orig 2023-03-30 00:33:53 UTC
+++ media/audio/audio_output_proxy_unittest.cc
@@ -443,7 +443,11 @@ class AudioOutputProxyTest : public testing::Test {
// |stream| is closed at this point. Start() should reopen it again.
EXPECT_CALL(manager(), MakeAudioOutputStream(_, _, _))
.Times(2)
+#if BUILDFLAG(IS_BSD)
+ .WillRepeatedly(Return(static_cast<AudioOutputStream*>(NULL)));
+#else
.WillRepeatedly(Return(reinterpret_cast<AudioOutputStream*>(NULL)));
+#endif
EXPECT_CALL(callback_, OnError(_)).Times(2);
|