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

Unified Diff: ui/views/controls/prefix_selector.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/controls/prefix_selector.cc
diff --git a/ui/views/controls/prefix_selector.cc b/ui/views/controls/prefix_selector.cc
index 723e0e40bd5e861157a11796d283191be32f83cd..1ba5feb1ba8ee57dd60a39e9e77c7b49b4285328 100644
--- a/ui/views/controls/prefix_selector.cc
+++ b/ui/views/controls/prefix_selector.cc
@@ -15,7 +15,7 @@ namespace views {
namespace {
-const int64 kTimeBeforeClearingMS = 1000;
+const int64_t kTimeBeforeClearingMS = 1000;
void ConvertRectToScreen(const views::View* src, gfx::Rect* r) {
DCHECK(src);
@@ -80,7 +80,7 @@ gfx::Rect PrefixSelector::GetCaretBounds() const {
return rect;
}
-bool PrefixSelector::GetCompositionCharacterBounds(uint32 index,
+bool PrefixSelector::GetCompositionCharacterBounds(uint32_t index,
gfx::Rect* rect) const {
// TextInputClient::GetCompositionCharacterBounds is expected to fill |rect|
// in screen coordinates and GetCaretBounds returns screen coordinates.

Powered by Google App Engine
This is Rietveld 408576698