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

Unified Diff: ui/compositor/test/test_suite.cc

Issue 145293007: ui: No more TestCompositor. Use NullDraw contexts in unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testsnulldraw: Created 6 years, 11 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
Index: ui/compositor/test/test_suite.cc
diff --git a/ui/compositor/test/test_suite.cc b/ui/compositor/test/test_suite.cc
index 18b4060b7e3091e319cedda4eb840a4183364737..d98f52da63f85aa9866085db991bbecc3e4106dc 100644
--- a/ui/compositor/test/test_suite.cc
+++ b/ui/compositor/test/test_suite.cc
@@ -11,10 +11,6 @@
#include "ui/gfx/gfx_paths.h"
#include "ui/gl/gl_surface.h"
-#if defined(USE_X11)
-#include <X11/Xlib.h>
-#endif
-
#if defined(OS_WIN)
#include "ui/gfx/win/dpi.h"
#endif
@@ -28,9 +24,6 @@ CompositorTestSuite::CompositorTestSuite(int argc, char** argv)
CompositorTestSuite::~CompositorTestSuite() {}
void CompositorTestSuite::Initialize() {
-#if defined(USE_X11)
- XInitThreads();
-#endif
base::TestSuite::Initialize();
gfx::GLSurface::InitializeOneOffForTests();

Powered by Google App Engine
This is Rietveld 408576698