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

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

Issue 23460052: Move XID, XDisplay, GetXDisplay and a few other types to ui/gfx/x/x11_types.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sdf Created 7 years, 3 months 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/browser/ui/ash/event_rewriter.cc ('k') | content/browser/aura/software_output_device_x11.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 349c4312f9b3b412c8a2117fe44cc9db0c4a0957..c489e07b1e968464a90698674c9324b9af8b1160 100644
--- a/chrome/test/chromedriver/keycode_text_conversion_x.cc
+++ b/chrome/test/chromedriver/keycode_text_conversion_x.cc
@@ -190,7 +190,7 @@ bool ConvertKeyCodeToText(
XEvent event;
memset(&event, 0, sizeof(XEvent));
XKeyEvent* key_event = &event.xkey;
- Display* display = ui::GetXDisplay();
+ XDisplay* display = gfx::GetXDisplay();
if (!display) {
*error_msg =
"an X display is required for keycode conversions, consider using Xvfb";
« no previous file with comments | « chrome/browser/ui/ash/event_rewriter.cc ('k') | content/browser/aura/software_output_device_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698