Index: content/public/test/test_content_client_initializer.cc |
diff --git a/content/public/test/test_content_client_initializer.cc b/content/public/test/test_content_client_initializer.cc |
index 0c210d297e506d65b1bbd85f794cd14e5d5b2dd2..edf4dcad13d06dd07ef9ba957bd9d971678eda22 100644 |
--- a/content/public/test/test_content_client_initializer.cc |
+++ b/content/public/test/test_content_client_initializer.cc |
@@ -10,10 +10,14 @@ |
#include "content/test/test_content_browser_client.h" |
#include "content/test/test_content_client.h" |
#include "content/test/test_render_view_host_factory.h" |
+#include "ui/base/ui_base_paths.h" |
namespace content { |
TestContentClientInitializer::TestContentClientInitializer() { |
+ // The TestContentClient uses content_shell.pak, so ensure the paths are set. |
+ ui::RegisterPathProvider(); |
+ |
notification_service_.reset(new NotificationServiceImpl()); |
content_client_.reset(new TestContentClient); |