Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sync/engine/commit_contribution.h" | 5 #include "ui/gfx/x/x11_connection.h" |
| 6 | 6 |
| 7 namespace syncer { | 7 #include <X11/Xlib.h> |
| 8 | 8 |
| 9 CommitContribution::CommitContribution() {} | 9 #include "ui/gfx/x/x11_types.h" |
| 10 | 10 |
| 11 CommitContribution::~CommitContribution() {} | 11 namespace gfx { |
| 12 | 12 |
| 13 } // namespace syncer | 13 bool InitializeX11() { |
| 14 return XInitThreads() && gfx::GetXDisplay(); | |
|
darin (slow to review)
2014/04/12 16:37:19
Want to add a comment here about why calling GetXD
sadrul
2014/04/14 20:37:56
Done (added a comment in the header file).
| |
| 15 } | |
| 16 | |
| 17 } // namespace gfx | |
| OLD | NEW |