chromium/cc/paint/scoped_raster_flags_unittest.cc

// 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.

#include "cc/paint/scoped_raster_flags.h"

#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "cc/paint/paint_op.h"
#include "cc/paint/paint_shader.h"
#include "cc/test/skia_common.h"
#include "cc/test/test_paint_worklet_input.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkMatrix.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkSize.h"
#include "third_party/skia/include/core/SkTileMode.h"

namespace cc {
namespace {
class MockImageProvider : public ImageProvider {};

class MockPaintWorkletImageProvider : public ImageProvider {};
}  // namespace

TEST(ScopedRasterFlagsTest, DecodePaintWorkletImageShader) {}

TEST(ScopedRasterFlagsTest, KeepsDecodesAlive) {}

TEST(ScopedRasterFlagsTest, NoImageProvider) {}

TEST(ScopedRasterFlagsTest, ThinAliasedStroke) {}

}  // namespace cc