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

Unified Diff: ui/gfx/test/run_all_unittests.cc

Issue 2037453002: Implement ui/gfx/geometry StructTraits unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix SizeF unit test Created 4 years, 7 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
« ui/gfx/mojo/traits_test_service.mojom ('K') | « ui/gfx/test/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/test/run_all_unittests.cc
diff --git a/ui/gfx/test/run_all_unittests.cc b/ui/gfx/test/run_all_unittests.cc
index f39c6ac9c86dea80036ebd69a662583f886893c8..65e1f9a8a8438710c196ab39a08382f9fb880c3f 100644
--- a/ui/gfx/test/run_all_unittests.cc
+++ b/ui/gfx/test/run_all_unittests.cc
@@ -28,6 +28,10 @@
#include "ui/gfx/win/direct_write.h"
#endif
+#if !defined(OS_IOS)
+#include "mojo/edk/embedder/embedder.h" // nogncheck
+#endif
+
namespace {
class GfxTestSuite : public base::TestSuite {
@@ -94,6 +98,10 @@ class GfxTestSuite : public base::TestSuite {
int main(int argc, char** argv) {
GfxTestSuite test_suite(argc, argv);
+#if !defined(OS_IOS)
+ mojo::edk::Init();
+#endif
+
return base::LaunchUnitTests(
argc,
argv,
« ui/gfx/mojo/traits_test_service.mojom ('K') | « ui/gfx/test/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698