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

Unified Diff: chrome/browser/net/net_error_tab_helper_unittest.cc

Issue 1159143008: Fix wrong initialization of renderer_initiated_creation parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing after rebase Created 5 years, 6 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: chrome/browser/net/net_error_tab_helper_unittest.cc
diff --git a/chrome/browser/net/net_error_tab_helper_unittest.cc b/chrome/browser/net/net_error_tab_helper_unittest.cc
index d225104e28ae35c3b2aef753cac40b2ff9941c70..970f7fe7223379e07985b140bc146a8ad1a940c1 100644
--- a/chrome/browser/net/net_error_tab_helper_unittest.cc
+++ b/chrome/browser/net/net_error_tab_helper_unittest.cc
@@ -56,6 +56,10 @@ class NetErrorTabHelperTest : public ChromeRenderViewHostTestHarness {
void SetUp() override {
ChromeRenderViewHostTestHarness::SetUp();
+
+ content::RenderViewHostTester::For(rvh())->CreateTestRenderView(
+ base::string16(), MSG_ROUTING_NONE, MSG_ROUTING_NONE, -1, false);
+
subframe_ = content::RenderFrameHostTester::For(main_rfh())
->AppendChild("subframe");

Powered by Google App Engine
This is Rietveld 408576698