Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / ui / gfx / x / x11_connection.cc
blobc5ee77f40d8f048cb912a074f71c13da00377268
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/gfx/x/x11_connection.h"
7 #include <X11/Xlib.h>
9 #include "ui/gfx/x/x11_types.h"
11 namespace gfx {
13 bool InitializeThreadedX11() {
14 return XInitThreads() && gfx::GetXDisplay();
17 } // namespace gfx