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

Unified Diff: trunk/src/ui/display/x11/edid_parser_x11.cc

Issue 238093002: Revert 263726 "x11: Remove X11 message-pump." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | « trunk/src/ui/display/x11/DEPS ('k') | trunk/src/ui/events/x/events_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/display/x11/edid_parser_x11.cc
===================================================================
--- trunk/src/ui/display/x11/edid_parser_x11.cc (revision 263732)
+++ trunk/src/ui/display/x11/edid_parser_x11.cc (working copy)
@@ -8,9 +8,9 @@
#include <X11/Xatom.h>
#include <X11/Xlib.h>
+#include "base/message_loop/message_loop.h"
#include "base/strings/string_util.h"
#include "ui/display/edid_parser.h"
-#include "ui/gfx/x/x11_types.h"
namespace ui {
@@ -20,7 +20,7 @@
int randr_version_major = 0;
int randr_version_minor = 0;
static bool is_randr_available = XRRQueryVersion(
- gfx::GetXDisplay(),
+ base::MessagePumpX11::GetDefaultXDisplay(),
&randr_version_major, &randr_version_minor);
return is_randr_available;
}
@@ -32,10 +32,10 @@
if (!IsRandRAvailable())
return false;
- Display* display = gfx::GetXDisplay();
+ Display* display = base::MessagePumpX11::GetDefaultXDisplay();
static Atom edid_property = XInternAtom(
- gfx::GetXDisplay(),
+ base::MessagePumpX11::GetDefaultXDisplay(),
RR_PROPERTY_RANDR_EDID, false);
bool has_edid_property = false;
« no previous file with comments | « trunk/src/ui/display/x11/DEPS ('k') | trunk/src/ui/events/x/events_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698