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

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

Issue 2607203002: [Mojo Video Capture] Retire buffers when Android Chromium goes to the background (Closed)
Patch Set: mcasas comments Created 3 years, 10 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/video_frame_receiver_on_io_thread.h
diff --git a/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h b/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h
index 17da01da5f17054fc0df852d96d5b5ea684d6135..768d29fb1ef782168db332e51b4edbfcb46ee5bc 100644
--- a/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h
+++ b/content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h
@@ -26,7 +26,7 @@ class CONTENT_EXPORT VideoFrameReceiverOnIOThread
scoped_refptr<media::VideoFrame> frame) override;
void OnError() override;
void OnLog(const std::string& message) override;
- void OnBufferDestroyed(int buffer_id_to_drop) override;
+ void OnBufferRetired(int buffer_id) override;
private:
base::WeakPtr<VideoFrameReceiver> receiver_;

Powered by Google App Engine
This is Rietveld 408576698