blob: ed48544fc36defbbab67dfb4af8433e318361301 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc
@@ -119,11 +119,11 @@ enum TextContext { kNoContext, kPriorContext, kPrimary
const int kTextBufferCapacity = 16;
-typedef struct {
+struct UTextWithBuffer {
DISALLOW_NEW();
UText text;
UChar buffer[kTextBufferCapacity];
-} UTextWithBuffer;
+};
static inline int64_t TextPinIndex(int64_t& index, int64_t limit) {
if (index < 0)
|