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

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

Issue 2583883003: Rebase of Removing gpu::SyncToken usage from video capture pipeline (Closed)
Patch Set: Rebase. Created 3 years, 12 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
« no previous file with comments | « content/browser/renderer_host/media/video_capture_host.h ('k') | content/common/video_capture.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bb78fd1518c54f42a56a09630e3ac585aefd411c..4c458f5d0da72417407e3eefd565bb9d37e7cc44 100644
--- a/content/browser/renderer_host/media/video_capture_host.cc
+++ b/content/browser/renderer_host/media/video_capture_host.cc
@@ -212,7 +212,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);
@@ -223,7 +222,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);
}
}
« no previous file with comments | « content/browser/renderer_host/media/video_capture_host.h ('k') | content/common/video_capture.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698