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

Unified Diff: ui/gfx/text_utils.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « ui/gfx/text_utils.h ('k') | ui/gfx/text_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/text_utils.cc
diff --git a/ui/gfx/text_utils.cc b/ui/gfx/text_utils.cc
index c62b88b122ccefc2a3f6ee73cd822a408652650c..9dbc32b2662d7cfe70f6175cf9edbc9d41f6fa7e 100644
--- a/ui/gfx/text_utils.cc
+++ b/ui/gfx/text_utils.cc
@@ -4,6 +4,8 @@
#include "ui/gfx/text_utils.h"
+#include <stdint.h>
+
#include "base/i18n/char_iterator.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
@@ -44,7 +46,7 @@ base::string16 RemoveAcceleratorChar(const base::string16& s,
accelerator_removed.reserve(s.size());
while (!chars.end()) {
- int32 c = chars.get();
+ int32_t c = chars.get();
int array_pos = chars.array_pos();
chars.Advance();
« no previous file with comments | « ui/gfx/text_utils.h ('k') | ui/gfx/text_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698