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

Unified Diff: base/message_pump_x.cc

Issue 8143021: aura: Fix views_unittests on linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed textfield tests changes Created 9 years, 2 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 | « no previous file | ui/aura/aura.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_x.cc
diff --git a/base/message_pump_x.cc b/base/message_pump_x.cc
index 45f24a6d77e6c2639fd705b630c6b414b5833177..4feab2d7804ee664c68065015deab32ab5a6b641 100644
--- a/base/message_pump_x.cc
+++ b/base/message_pump_x.cc
@@ -167,7 +167,7 @@ bool MessagePumpX::HasXInput2() {
void MessagePumpX::InitXSource() {
DCHECK(!x_source_);
GPollFD* x_poll = new GPollFD();
- x_poll->fd = ConnectionNumber(g_xdisplay);
+ x_poll->fd = ConnectionNumber(GetDefaultXDisplay());
x_poll->events = G_IO_IN;
x_source_ = g_source_new(&XSourceFuncs, sizeof(GSource));
« no previous file with comments | « no previous file | ui/aura/aura.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698