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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host.h

Issue 2809673002: Fix double close in MojoAudioOutputStream. (Closed)
Patch Set: Fix Win complie. Created 3 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
Index: content/browser/renderer_host/media/audio_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index 5e4ce65c764632c165f596cf2d20e9d2031ab428..eb3c90f21a602e0586a41fc0e2d01bdb8f87a99d 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -91,9 +91,10 @@ class CONTENT_EXPORT AudioRendererHost
bool OnMessageReceived(const IPC::Message& message) override;
// AudioOutputDelegate::EventHandler implementation
- void OnStreamCreated(int stream_id,
- base::SharedMemory* shared_memory,
- base::CancelableSyncSocket* foreign_socket) override;
+ void OnStreamCreated(
+ int stream_id,
+ base::SharedMemory* shared_memory,
+ std::unique_ptr<base::CancelableSyncSocket> foreign_socket) override;
void OnStreamError(int stream_id) override;
void OverrideDevicePermissionsForTesting(bool has_access);

Powered by Google App Engine
This is Rietveld 408576698