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

Unified Diff: mojo/runner/about_fetcher_unittest.cc

Issue 1328563003: Fix mojo_runner_unittests in debug builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years, 4 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
« no previous file with comments | « no previous file | mojo/runner/shell_test_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/about_fetcher_unittest.cc
diff --git a/mojo/runner/about_fetcher_unittest.cc b/mojo/runner/about_fetcher_unittest.cc
index 08470b5340724109ccb9782abd37dfb75f64bd15..1adb22023578267f1048eabaf40919c24d90e37e 100644
--- a/mojo/runner/about_fetcher_unittest.cc
+++ b/mojo/runner/about_fetcher_unittest.cc
@@ -14,6 +14,7 @@
#include "mojo/application/public/interfaces/content_handler.mojom.h"
#include "mojo/common/weak_binding_set.h"
#include "mojo/runner/about_fetcher.h"
+#include "mojo/runner/context.h"
#include "mojo/shell/application_loader.h"
#include "mojo/shell/application_manager.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -142,6 +143,7 @@ class AboutFetcherTest : public testing::Test {
// Overridden from testing::Test:
void SetUp() override {
+ Context::EnsureEmbedderIsInitialized();
application_manager_.reset(new shell::ApplicationManager(&test_delegate_));
application_manager_->SetLoaderForURL(
make_scoped_ptr(new TestLoader(&html_content_handler_)),
« no previous file with comments | « no previous file | mojo/runner/shell_test_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698