Index: mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc b/mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc |
index 818b04d6b0c56d53874bc305a589aa3a9062c8ca..30cbad68440fff0ff181cbe38fe1c339b4d362fe 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc |
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc |
@@ -4,6 +4,7 @@ |
#include "mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.h" |
+#include "base/i18n/icu_util.h" |
#include "ui/gl/gl_surface.h" |
#if defined(USE_X11) |
@@ -27,6 +28,9 @@ void ViewManagerTestSuite::Initialize() { |
base::TestSuite::Initialize(); |
gfx::GLSurface::InitializeOneOffForTests(); |
+ |
+ // base::TestSuite and ViewsInit both try to load icu. That's ok for tests. |
+ base::i18n::AllowMultipleInitializeCallsForTesting(); |
} |
} // namespace mojo |