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

Unified Diff: media/gpu/ipc/service/gpu_video_decode_accelerator.cc

Issue 2849043002: Send AndroidOverlay routing token from WMPI to AVDA. (Closed)
Patch Set: rebased Created 3 years, 7 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 | « media/gpu/ipc/service/gpu_video_decode_accelerator.h ('k') | media/mojo/clients/mojo_renderer_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/ipc/service/gpu_video_decode_accelerator.cc
diff --git a/media/gpu/ipc/service/gpu_video_decode_accelerator.cc b/media/gpu/ipc/service/gpu_video_decode_accelerator.cc
index d26f19a0a213f255ce594dda26d0346e1947ff0d..b31f9bb5903cb208e6f6928bd3665b9160e27708 100644
--- a/media/gpu/ipc/service/gpu_video_decode_accelerator.cc
+++ b/media/gpu/ipc/service/gpu_video_decode_accelerator.cc
@@ -507,9 +507,11 @@ void GpuVideoDecodeAccelerator::OnReset() {
video_decode_accelerator_->Reset();
}
-void GpuVideoDecodeAccelerator::OnSetSurface(int32_t surface_id) {
+void GpuVideoDecodeAccelerator::OnSetSurface(
+ int32_t surface_id,
+ const base::Optional<base::UnguessableToken>& routing_token) {
DCHECK(video_decode_accelerator_);
- video_decode_accelerator_->SetSurface(surface_id);
+ video_decode_accelerator_->SetSurface(surface_id, routing_token);
}
void GpuVideoDecodeAccelerator::OnDestroy() {
« no previous file with comments | « media/gpu/ipc/service/gpu_video_decode_accelerator.h ('k') | media/mojo/clients/mojo_renderer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698