#ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/351564777): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CSS_SEEKER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_SEEKER_H_ #include <iterator> #include "base/memory/stack_allocated.h" #include "third_party/blink/renderer/core/css/rule_set.h" namespace blink { // Sequentially scans a sorted list of RuleSet::Interval<T> and seeks // for the value for a rule (given by its position). Seek() must be called // with non-decreasing rule positions, so that we only need to go // through the layer list at most once for all Seek() calls. template <class T> class Seeker { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_SEEKER_H_