// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_PAINT_UNDER_INVALIDATION_CHECKER_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_PAINT_UNDER_INVALIDATION_CHECKER_H_ #include "base/memory/stack_allocated.h" #include "third_party/blink/renderer/platform/graphics/graphics_types.h" #include "third_party/blink/renderer/platform/graphics/paint/paint_chunk.h" namespace blink { class DisplayItem; class DisplayItemList; class PaintController; // If RuntimeEnabledFeatures::PaintUnderInvalidationCheckingEnabled(), // when PaintController can use a cached display item or a cached subsequence, // it lets the client paint instead of using the cache, and this class checks // whether the painting is the same as the cache. class PaintUnderInvalidationChecker { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_PAINT_UNDER_INVALIDATION_CHECKER_H_