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

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

Issue 1159183002: Improve process crash handling in RenderViewHost & mock RenderProcessHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile problem in webview_interactive_uitest.cc Created 5 years, 7 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_renderer_host.cc
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
index 73dcca252dc1a1e9dd9bb097ef033075405ddae6..d8847791a77f9dd1449664c8978b8450184646e1 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -151,6 +151,7 @@ WebContents* RenderViewHostTestHarness::CreateTestWebContents() {
// This will be deleted when the WebContentsImpl goes away.
SiteInstance* instance = SiteInstance::Create(browser_context_.get());
+ instance->GetProcess()->Init();
return TestWebContents::Create(browser_context_.get(), instance);
}
« no previous file with comments | « content/public/test/mock_render_process_host.cc ('k') | ui/views/controls/webview/webview_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698