| Index: content/renderer/renderer_main.cc
|
| ===================================================================
|
| --- content/renderer/renderer_main.cc (revision 118690)
|
| +++ content/renderer/renderer_main.cc (working copy)
|
| @@ -215,7 +215,9 @@
|
| // TODO(markus): Check if it is OK to unconditionally move this
|
| // instruction down.
|
| RenderProcessImpl render_process;
|
| - render_process.set_main_thread(new RenderThreadImpl());
|
| + // The RenderThreadImpl will register itself as the main thread for the
|
| + // current process.
|
| + new RenderThreadImpl();
|
| #endif
|
| bool run_loop = true;
|
| if (!no_sandbox) {
|
| @@ -225,7 +227,9 @@
|
| }
|
| #if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| RenderProcessImpl render_process;
|
| - render_process.set_main_thread(new RenderThreadImpl());
|
| + // The RenderThreadImpl will register itself as the main thread for the
|
| + // current process.
|
| + new RenderThreadImpl();
|
| #endif
|
|
|
| platform.RunSandboxTests();
|
|
|