#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/base/ime/linux/composition_text_util_pango.h"
#include <pango/pango-attributes.h>
#include <stddef.h>
#include <algorithm>
#include <string>
#include "base/i18n/char_iterator.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/base/ime/composition_text.h"
namespace ui {
void ExtractCompositionTextFromGtkPreedit(const char* utf8_text,
PangoAttrList* attrs,
int cursor_position,
CompositionText* composition) { … }
}