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

Unified Diff: content/public/test/test_content_client_initializer.cc

Issue 537063002: Eliminate silently letting errors pass on pak loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one last time Created 6 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
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);

Powered by Google App Engine
This is Rietveld 408576698