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

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

Issue 2442193002: Removing gpu::SyncToken usage from video capture pipeline, part 1.
Patch Set: Removing gpu::SyncToken usage from video capture pipeline, part 1. Created 4 years, 1 month 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 3076bc50054c6554490707410b0888d5a89b46eb..78eb351748bb7280e59b7491a54a61ad1285e2d2 100644
--- a/content/browser/renderer_host/media/video_capture_host.cc
+++ b/content/browser/renderer_host/media/video_capture_host.cc
@@ -233,7 +233,6 @@ void VideoCaptureHost::RequestRefreshFrame(int32_t device_id) {
void VideoCaptureHost::ReleaseBuffer(int32_t device_id,
int32_t buffer_id,
- const gpu::SyncToken& sync_token,
double consumer_resource_utilization) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
@@ -244,7 +243,7 @@ void VideoCaptureHost::ReleaseBuffer(int32_t device_id,
const base::WeakPtr<VideoCaptureController>& controller = it->second;
if (controller) {
- controller->ReturnBuffer(controller_id, this, buffer_id, sync_token,
+ controller->ReturnBuffer(controller_id, this, buffer_id,
consumer_resource_utilization);
}
}

Powered by Google App Engine
This is Rietveld 408576698