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

Unified Diff: chrome/test/chromedriver/keycode_text_conversion_x.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 | « chrome/test/chromedriver/keycode_text_conversion_win.cc ('k') | chrome/test/chromedriver/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/keycode_text_conversion_x.cc
diff --git a/chrome/test/chromedriver/keycode_text_conversion_x.cc b/chrome/test/chromedriver/keycode_text_conversion_x.cc
index d52bfb2d61a1fb671a6c409fc32c141babee4d6c..58c632bcfaec97c9d5d4d17990636edf8ba1d63b 100644
--- a/chrome/test/chromedriver/keycode_text_conversion_x.cc
+++ b/chrome/test/chromedriver/keycode_text_conversion_x.cc
@@ -4,12 +4,16 @@
#include "chrome/test/chromedriver/keycode_text_conversion.h"
-#include <algorithm>
+#include <stddef.h>
+#include <stdint.h>
+#include <string.h>
#include <X11/keysym.h>
#include <X11/XKBlib.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include <algorithm>
+#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/test/chromedriver/chrome/ui_events.h"
#include "ui/base/x/x11_util.h"
@@ -219,7 +223,7 @@ bool ConvertKeyCodeToText(
key_event->state |= x_modifier;
}
key_event->type = KeyPress;
- uint16 character = ui::GetCharacterFromXEvent(&event);
+ uint16_t character = ui::GetCharacterFromXEvent(&event);
if (!character)
*text = std::string();
« no previous file with comments | « chrome/test/chromedriver/keycode_text_conversion_win.cc ('k') | chrome/test/chromedriver/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698