Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: ui/gfx/render_text_harfbuzz.cc

Issue 388893003: Fixes for re-enabling more MSVC level 4 warnings: ui/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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),

Powered by Google App Engine
This is Rietveld 408576698