Index: ui/gfx/render_text_harfbuzz.cc |
diff --git a/ui/gfx/render_text_harfbuzz.cc b/ui/gfx/render_text_harfbuzz.cc |
index 4d902cd87adae62b5cf5c4481288dccb3ecc9823..14a7a80fed654260403ddf02140c5ed5601a7876 100644 |
--- a/ui/gfx/render_text_harfbuzz.cc |
+++ b/ui/gfx/render_text_harfbuzz.cc |
@@ -405,7 +405,7 @@ TextRunHarfBuzz::TextRunHarfBuzz() |
is_rtl(false), |
level(0), |
script(USCRIPT_INVALID_CODE), |
- glyph_count(-1), |
+ glyph_count(static_cast<size_t>(-1)), |
font_size(0), |
font_style(0), |
strike(false), |