media/gpu/v4l2: fix chromium-style errors.
We have a lot of chromium-style errors happening when enabling V4L2 for a non-Chrome OS build, e.g: ../../media/gpu/v4l2/v4l2_decode_surface.h:139:7: error: [chromium-style] Classes that are ref-counted should have explicit destructors that are declared protected or private. class V4L2RequestDecodeSurface : public V4L2DecodeSurface { and ../../media/gpu/v4l2/v4l2_slice_video_decoder.h:97:5: error: [chromium-style] Complex constructor has an inlined body. DecodeRequest(scoped_refptr<DecoderBuffer> buf, DecodeCB cb, int32_t id) This CL fixes these errors. Bug: 990690 Test: VDA unittest passes on Kukui. Change-Id: I3485c855f8affefb7ac99732e11fa78466081d60 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1736346Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#683941}
Showing
Please register or sign in to comment