OnLossNotification() receives references
A typo in a previous CL made OnLossNotification() accept its single argument as a const-value, rather than a const-reference. Bug: webrtc:10501 Change-Id: I5e6f9c79f15205b75ec90a53d3fccf3dd9927e33 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133343 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Elad Alon <eladalon@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27659}
This commit is contained in:
@ -140,7 +140,7 @@ class Vp8FrameBufferController {
|
||||
|
||||
// Called when a loss notification is received.
|
||||
virtual void OnLossNotification(
|
||||
const VideoEncoder::LossNotification loss_notification) = 0;
|
||||
const VideoEncoder::LossNotification& loss_notification) = 0;
|
||||
};
|
||||
|
||||
// Interface for a factory of Vp8FrameBufferController instances.
|
||||
|
||||
Reference in New Issue
Block a user