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

Unified Diff: ui/aura/test_suite.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 | « ui/aura/aura.gyp ('k') | views/controls/scrollbar/native_scroll_bar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test_suite.cc
diff --git a/ui/aura/test_suite.cc b/ui/aura/test_suite.cc
index 8d8c68c34cc3000e087d363a1456ff4513aef6b4..ff1cc02fe12cd2b5f9922c2529810aa57ce2b750 100644
--- a/ui/aura/test_suite.cc
+++ b/ui/aura/test_suite.cc
@@ -10,11 +10,15 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
#include "ui/gfx/gfx_paths.h"
+#include "ui/gfx/gl/gl_implementation.h"
AuraTestSuite::AuraTestSuite(int argc, char** argv)
: TestSuite(argc, argv) {}
void AuraTestSuite::Initialize() {
+#if defined(OS_LINUX)
+ gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL);
+#endif
base::TestSuite::Initialize();
gfx::RegisterPathProvider();
« no previous file with comments | « ui/aura/aura.gyp ('k') | views/controls/scrollbar/native_scroll_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698