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

Unified Diff: ui/gl/gl_enums.cc

Issue 1545113002: Switch to standard integer types in ui/gl/. (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/gl/gl_enums.h ('k') | ui/gl/gl_fence.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_enums.cc
diff --git a/ui/gl/gl_enums.cc b/ui/gl/gl_enums.cc
index d43681e6f3bb93698a892a0b9118bd0797ce0a98..fbe0446a5cffc83d384b890d6715a471c2afc9db 100644
--- a/ui/gl/gl_enums.cc
+++ b/ui/gl/gl_enums.cc
@@ -9,7 +9,7 @@
namespace gfx {
-std::string GLEnums::GetStringEnum(uint32 value) {
+std::string GLEnums::GetStringEnum(uint32_t value) {
const EnumToString* entry = enum_to_string_table_;
const EnumToString* end = entry + enum_to_string_table_len_;
for (;entry < end; ++entry) {
@@ -24,13 +24,13 @@ std::string GLEnums::GetStringEnum(uint32 value) {
return "0x" + ss.str();
}
-std::string GLEnums::GetStringError(uint32 value) {
+std::string GLEnums::GetStringError(uint32_t value) {
if (value == GL_NONE)
return "GL_NONE";
return GetStringEnum(value);
}
-std::string GLEnums::GetStringBool(uint32 value) {
+std::string GLEnums::GetStringBool(uint32_t value) {
return value ? "GL_TRUE" : "GL_FALSE";
}
« no previous file with comments | « ui/gl/gl_enums.h ('k') | ui/gl/gl_fence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698