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

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: Created 4 years 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 639552248f5579c4883968bae50f5f722b25a180..bd8f914d2d827c75ea8bbcfc5317213a55bbadd7 100644
--- a/content/browser/renderer_host/media/video_capture_host.cc
+++ b/content/browser/renderer_host/media/video_capture_host.cc
@@ -211,7 +211,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);
@@ -222,7 +221,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