#include "third_party/blink/renderer/platform/graphics/canvas_resource_host.h"
#include <memory>
#include "components/viz/common/resources/release_callback.h"
#include "components/viz/common/resources/transferable_resource.h"
#include "components/viz/test/test_context_provider.h"
#include "components/viz/test/test_gles2_interface.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/graphics/graphics_types.h"
#include "third_party/blink/renderer/platform/graphics/test/fake_canvas_resource_host.h"
#include "third_party/blink/renderer/platform/graphics/test/gpu_test_utils.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/testing_platform_support.h"
#include "ui/gfx/geometry/size.h"
namespace blink {
namespace {
TestContextProvider;
class AcceleratedCompositingTestPlatform
: public blink::TestingPlatformSupport { … };
TEST(CanvasResourceHostTest, ReleaseResourcesAfterHostDestroyed) { … }
}
}