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

Unified Diff: ui/views/color_chooser/color_chooser_view.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (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
Index: ui/views/color_chooser/color_chooser_view.cc
diff --git a/ui/views/color_chooser/color_chooser_view.cc b/ui/views/color_chooser/color_chooser_view.cc
index a321dc49a75e8f2060a4b8b4ee2aec56ee51bb3c..2c63883c6179de1c775d7698859f79988181d1ea 100644
--- a/ui/views/color_chooser/color_chooser_view.cc
+++ b/ui/views/color_chooser/color_chooser_view.cc
@@ -4,7 +4,10 @@
#include "ui/views/color_chooser/color_chooser_view.h"
+#include <stdint.h>
+
#include "base/logging.h"
+#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
@@ -47,7 +50,7 @@ bool GetColorFromText(const base::string16& text, SkColor* result) {
std::string input =
base::UTF16ToUTF8((text.size() == 6) ? text : text.substr(1));
- std::vector<uint8> hex;
+ std::vector<uint8_t> hex;
if (!base::HexStringToBytes(input, &hex))
return false;

Powered by Google App Engine
This is Rietveld 408576698