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

Unified Diff: ui/gfx/sequential_id_generator_unittest.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/sequential_id_generator.cc ('k') | ui/gfx/shadow_value.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/sequential_id_generator_unittest.cc
diff --git a/ui/gfx/sequential_id_generator_unittest.cc b/ui/gfx/sequential_id_generator_unittest.cc
index 7a07f90ff05ca7bd39d66d4976c7f39884d90281..ee0aac61bfa81ea3acf716f7ff877e1371613dfe 100644
--- a/ui/gfx/sequential_id_generator_unittest.cc
+++ b/ui/gfx/sequential_id_generator_unittest.cc
@@ -4,6 +4,8 @@
#include "ui/gfx/sequential_id_generator.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -12,7 +14,7 @@ namespace ui {
typedef testing::Test SequentialIDGeneratorTest;
TEST(SequentialIDGeneratorTest, AddRemove) {
- const uint32 kMinID = 2;
+ const uint32_t kMinID = 2;
SequentialIDGenerator generator(kMinID);
EXPECT_EQ(2U, generator.GetGeneratedID(45));
@@ -39,7 +41,7 @@ TEST(SequentialIDGeneratorTest, AddRemove) {
}
TEST(SequentialIDGeneratorTest, RemoveMultipleNumbers) {
- const uint32 kMinID = 4;
+ const uint32_t kMinID = 4;
SequentialIDGenerator generator(kMinID);
EXPECT_EQ(4U, generator.GetGeneratedID(45));
« no previous file with comments | « ui/gfx/sequential_id_generator.cc ('k') | ui/gfx/shadow_value.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698