// FIX: Move thread-bound resources to the Child Thread for safe destruction.Vikas SoniI don't see similar usage of "FIX: " prefixes in the media code tree. Maybe:
```suggestion
// Moves thread-bound resources to the Child Thread for safe destruction.
```
Done
client_ptr_factory_.reset();Vikas SoniDoes this code branch ever get hit? Above, we DCHECK (not checked in prod) that this is called on the `encoder_sequence_checker_.` If not, can we remove it and always post to the `child_task_runner_`?
Done
//Vikas SoniNit: This function comment is already in the .h file where it is defined. Can you remove it here?
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I'm not super familar with the V4L2 code, but did have some comments on the mirroring code.
// to be in an invalid state.Please update the class documentation to explain context_configured_cb.
context_configured_cb_(std::move(context_configured_cb)) {}nit: can you
`#include <utility>`
command_buffer_proxy->GetGpuChannel().GetChannelToken(base::BindOnce(Can you add a comment explaining why `base::Unretained(this)` is safe here? In particular what if `OnContextLost()` is called before `OnChannelTokenReady()`?
route_id_ = route_id;Is route_id_ guaranteed to be non-zero?
void OpenscreenSessionHost::OnGpuFactoryContextLost(Should this do something with any queued callbacks in `pending_vea_requests_`?
route_id_ = 0;If this is called before OnGpuFactoriesConfigured(), will we get an invalid route id/token set returned to callers?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |