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"); |