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

Unified Diff: components/error_page/renderer/net_error_helper_core_unittest.cc

Issue 2229943002: Remove dependency on test_runner from some components unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: apply jam's fix for android from crrev.com/2233973003 Created 4 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 | « components/error_page/renderer/DEPS ('k') | components/subresource_filter/content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/error_page/renderer/net_error_helper_core_unittest.cc
diff --git a/components/error_page/renderer/net_error_helper_core_unittest.cc b/components/error_page/renderer/net_error_helper_core_unittest.cc
index 943010daedd688b3300ce8868747dcd301dd5797..d73ea287ffa02fa67d7d6c3e18372c0033ba4a90 100644
--- a/components/error_page/renderer/net_error_helper_core_unittest.cc
+++ b/components/error_page/renderer/net_error_helper_core_unittest.cc
@@ -24,7 +24,6 @@
#include "build/build_config.h"
#include "components/error_page/common/error_page_params.h"
#include "components/error_page/common/net_error_info.h"
-#include "components/test_runner/test_common.h"
#include "content/public/common/url_constants.h"
#include "net/base/net_errors.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -171,7 +170,6 @@ class NetErrorHelperCoreTest : public testing::Test,
error_url_(GURL(content::kUnreachableWebDataURL)),
tracking_request_count_(0) {
SetUpCore(false, false, true);
- test_runner::EnsureBlinkInitialized();
}
~NetErrorHelperCoreTest() override {
« no previous file with comments | « components/error_page/renderer/DEPS ('k') | components/subresource_filter/content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698