#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/fonts/shaping/case_mapping_harfbuzz_buffer_filler.h"
#include <unicode/utf16.h>
#include "third_party/blink/renderer/platform/wtf/text/case_map.h"
namespace blink {
static const uint16_t* ToUint16(const UChar* src) { … }
CaseMappingHarfBuzzBufferFiller::CaseMappingHarfBuzzBufferFiller(
CaseMapIntend case_map_intend,
const AtomicString& locale,
hb_buffer_t* harfbuzz_buffer,
const String& text,
unsigned start_index,
unsigned num_characters)
: … { … }
void CaseMappingHarfBuzzBufferFiller::FillSlowCase(
CaseMapIntend case_map_intend,
const AtomicString& locale,
const UChar* buffer,
unsigned buffer_length,
unsigned start_index,
unsigned num_characters) { … }
}