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

Unified Diff: components/exo/test/run_all_unittests.cc

Issue 2493223002: Change exo::SurfaceFactoryOwner to exo::ExoCompositorFrameSink (Closed)
Patch Set: Undid a change on an if condition in exo::Surface::CommitSurfaceHierarchy() Created 4 years 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: components/exo/test/run_all_unittests.cc
diff --git a/components/exo/test/run_all_unittests.cc b/components/exo/test/run_all_unittests.cc
index e69d387c9b75cf2b0ecbc2e29066570ec7e73a87..eedc4d93feb7ce0b320b455226b92140d12ac5ee 100644
--- a/components/exo/test/run_all_unittests.cc
+++ b/components/exo/test/run_all_unittests.cc
@@ -6,9 +6,17 @@
#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
+#if !defined(OS_IOS)
+#include "mojo/edk/embedder/embedder.h"
+#endif
+
int main(int argc, char** argv) {
ash::test::AuraShellTestSuite test_suite(argc, argv);
+#if !defined(OS_IOS)
+ mojo::edk::Init();
+#endif
+
return base::LaunchUnitTestsSerially(
argc, argv, base::Bind(&ash::test::AuraShellTestSuite::Run,
base::Unretained(&test_suite)));

Powered by Google App Engine
This is Rietveld 408576698