| Index: content/renderer/render_thread_impl.h
|
| diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
|
| index 831c982222041e397a102ccd467e7b61e90d244a..28e5943691bc0ad186b51d0d86b5bc148d4b66fb 100644
|
| --- a/content/renderer/render_thread_impl.h
|
| +++ b/content/renderer/render_thread_impl.h
|
| @@ -121,6 +121,8 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
|
| RenderThreadImpl();
|
| // Constructor that's used when running in single process mode.
|
| explicit RenderThreadImpl(const std::string& channel_name);
|
| + // Constructor that's used in RendererMain.
|
| + explicit RenderThreadImpl(scoped_ptr<base::MessageLoop> main_message_loop);
|
| ~RenderThreadImpl() override;
|
| void Shutdown() override;
|
|
|
| @@ -525,6 +527,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
|
| // GpuChannelHostFactory methods.
|
| scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
|
|
|
| + // The message loop of the renderer main thread.
|
| + // This message loop should be destructed before the RenderThreadImpl
|
| + // shuts down Blink.
|
| + scoped_ptr<base::MessageLoop> main_message_loop_;
|
| +
|
| // A lazily initiated thread on which file operations are run.
|
| scoped_ptr<base::Thread> file_thread_;
|
|
|
|
|