// Copyright 2018 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/351564777): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "third_party/blink/renderer/platform/image-decoders/image_frame.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/skia/modules/skcms/skcms.h" namespace blink { namespace { // Needed for ImageFrame::SetMemoryAllocator, but still does the default // allocation. class TestAllocator final : public SkBitmap::Allocator { … }; class ImageFrameTest : public testing::Test { … }; TEST_F(ImageFrameTest, BlendRGBARawF16Buffer) { … } TEST_F(ImageFrameTest, BlendRGBAPremultipliedF16Buffer) { … } } // namespace } // namespace blink