kotatogram-desktop/Telegram/SourceFiles/ui/chat/attach
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
..
attach_abstract_single_file_preview.cpp
attach_abstract_single_file_preview.h
attach_abstract_single_media_preview.cpp
attach_abstract_single_media_preview.h
attach_abstract_single_preview.h
attach_album_preview.cpp Use base::SafeRound instead of std::round. 2021-09-27 12:13:57 +04:00
attach_album_preview.h
attach_album_thumbnail.cpp Use base::SafeRound instead of std::round. 2021-09-27 12:13:57 +04:00
attach_album_thumbnail.h
attach_controls.cpp
attach_controls.h
attach_extensions.cpp
attach_extensions.h
attach_item_single_file_preview.cpp
attach_item_single_file_preview.h
attach_item_single_media_preview.cpp
attach_item_single_media_preview.h
attach_prepare.cpp
attach_prepare.h
attach_send_files_way.cpp
attach_send_files_way.h
attach_single_file_preview.cpp
attach_single_file_preview.h
attach_single_media_preview.cpp
attach_single_media_preview.h