// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "chrome/browser/media/webrtc/desktop_media_picker_utils.h" #include "media/base/video_util.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/size.h" #include "ui/gfx/image/image_skia_operations.h" void RecordUma(GDMPreferCurrentTabResult result, base::TimeTicks dialog_open_time) { … } gfx::ImageSkia ScaleBitmap(const SkBitmap& bitmap, gfx::Size size) { … }