// Copyright 2017 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/354829279): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include <cstring> #include "ui/gfx/half_float.h" namespace gfx { void FloatToHalfFloat(const float* input, HalfFloat* output, size_t num) { … } } // namespace gfx