diff --git a/lib/ui/painting/image_decoder_impeller.cc b/lib/ui/painting/image_decoder_impeller.cc index fdaf81a7a7ac0..396387f2120d5 100644 --- a/lib/ui/painting/image_decoder_impeller.cc +++ b/lib/ui/painting/image_decoder_impeller.cc @@ -338,6 +338,7 @@ ImageDecoderImpeller::UploadTextureToPrivate( const std::shared_ptr& context, const std::shared_ptr& buffer, const SkImageInfo& image_info, + // NOLINTNEXTLINE(performance-unnecessary-value-param) std::shared_ptr bitmap, const std::shared_ptr& gpu_disabled_switch) { TRACE_EVENT0("impeller", __FUNCTION__); @@ -365,6 +366,7 @@ ImageDecoderImpeller::UploadTextureToPrivate( std::pair, std::string> ImageDecoderImpeller::UploadTextureToShared( const std::shared_ptr& context, + // NOLINTNEXTLINE(performance-unnecessary-value-param) std::shared_ptr bitmap, const std::shared_ptr& gpu_disabled_switch, bool create_mips) { diff --git a/lib/ui/painting/image_decoder_impeller.h b/lib/ui/painting/image_decoder_impeller.h index a9c1af42de9d0..f407a511b5055 100644 --- a/lib/ui/painting/image_decoder_impeller.h +++ b/lib/ui/painting/image_decoder_impeller.h @@ -80,6 +80,7 @@ class ImageDecoderImpeller final : public ImageDecoder { const std::shared_ptr& context, const std::shared_ptr& buffer, const SkImageInfo& image_info, + // NOLINTNEXTLINE(performance-unnecessary-value-param) std::shared_ptr bitmap, const std::shared_ptr& gpu_disabled_switch); @@ -93,6 +94,7 @@ class ImageDecoderImpeller final : public ImageDecoder { /// @return A DlImage. static std::pair, std::string> UploadTextureToShared( const std::shared_ptr& context, + // NOLINTNEXTLINE(performance-unnecessary-value-param) std::shared_ptr bitmap, const std::shared_ptr& gpu_disabled_switch, bool create_mips = true);