commit | 3c4f9c13f55a697133461c5f8d9dd75da5a0bc19 | [log] [tgz] |
---|---|---|
author | Niels Möller <nisse@webrtc.org> | Fri Apr 22 09:14:34 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 22 14:07:19 2022 |
tree | 999f942f3962655f391d1ba3279f5d24e7e35c56 | |
parent | 58cc468d161a9973a15c8a7aec18713175951d99 [diff] [blame] |
Update test/ to not use implicit conversion from scoped_refptr<T> to T*. Bug: webrtc:13464 Change-Id: I55750dc842adf0d854bbc45e593c0e251064f9d6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/259771 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36623}
diff --git a/test/mappable_native_buffer.cc b/test/mappable_native_buffer.cc index 48b9379..1b171e6 100644 --- a/test/mappable_native_buffer.cc +++ b/test/mappable_native_buffer.cc
@@ -163,7 +163,7 @@ case VideoFrameBuffer::Type::kI420: { rtc::scoped_refptr<I420Buffer> i420_buffer = I420Buffer::Create(width, height); - I420Buffer::SetBlack(i420_buffer); + I420Buffer::SetBlack(i420_buffer.get()); mapped_buffer = i420_buffer; break; }