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

Unified Diff: content/browser/renderer_host/media/video_capture_host.cc

Issue 2395913003: Cleanup of passing GpuMemoryBuffer backed video frames (Closed)
Patch Set: Rebase Created 4 years, 2 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_capture_host.cc
diff --git a/content/browser/renderer_host/media/video_capture_host.cc b/content/browser/renderer_host/media/video_capture_host.cc
index 3969167dba861efbd3a7282613e3ceb306bf534a..51e655c846e5ca9c1b6cbf3a85df9206502a5c20 100644
--- a/content/browser/renderer_host/media/video_capture_host.cc
+++ b/content/browser/renderer_host/media/video_capture_host.cc
@@ -65,18 +65,6 @@ void VideoCaptureHost::OnBufferCreated(VideoCaptureControllerID controller_id,
Send(new VideoCaptureMsg_NewBuffer(controller_id, handle, length, buffer_id));
}
-void VideoCaptureHost::OnBufferCreated2(
- VideoCaptureControllerID controller_id,
- const std::vector<gfx::GpuMemoryBufferHandle>& handles,
- const gfx::Size& size,
- int buffer_id) {
- DCHECK_CURRENTLY_ON(BrowserThread::IO);
- if (controllers_.find(controller_id) == controllers_.end())
- return;
-
- Send(new VideoCaptureMsg_NewBuffer2(controller_id, handles, size, buffer_id));
-}
-
void VideoCaptureHost::OnBufferDestroyed(VideoCaptureControllerID controller_id,
int buffer_id) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);

Powered by Google App Engine
This is Rietveld 408576698