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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 65193003: Clear SingleProcess and InProcessGPU logic. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 10439713a590c7bbae54e54d1ab4bf2a187bb488..344d44d4ad1522f3cb65fc4310895a5217503ffc 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -471,8 +471,8 @@ bool RenderProcessHostImpl::Init() {
CreateMessageFilters();
- // Single-process mode not supported in multiple-dll mode currently.
- if (run_renderer_in_process() && g_renderer_main_thread_factory) {
+ if (run_renderer_in_process()) {
+ CHECK(g_renderer_main_thread_factory);
piman 2013/11/07 22:09:52 Should be DCHECK
// Crank up a thread and run the initialization there. With the way that
// messages flow between the browser and renderer, this thread is required
// to prevent a deadlock in single-process mode. Since the primordial

Powered by Google App Engine
This is Rietveld 408576698