// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/layout/inline/transformed_string.h" #include "third_party/blink/renderer/platform/wtf/text/text_offset_map.h" namespace blink { // static // Convert TextOffsetMap to a form we can split easily. Vector<unsigned> TransformedString::CreateLengthMap( unsigned dom_length, unsigned transformed_length, const TextOffsetMap& offset_map) { … } TransformedString TransformedString::Substring(unsigned start, unsigned length) const { … } } // namespace blink