From 514e711ea07b6a1aef47ebf20250a37bd632402c Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Fri, 20 Feb 2009 05:23:36 +0000 Subject: Refactor code from RenderThread and PluginThread and move it to ChildThread. ChildProcess now owns the ChildThread, which removes duplicate code and simplifies things. Clean up ChildProcess, there really was no need for all the templates and statics in it and its subclasses. Review URL: http://codereview.chromium.org/21502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10080 0039d316-1c4b-4281-b951-d872f2087c98 --- base/thread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'base') diff --git a/base/thread.h b/base/thread.h index 5a51bec..4254168 100644 --- a/base/thread.h +++ b/base/thread.h @@ -29,6 +29,8 @@ class Thread : PlatformThread::Delegate { size_t stack_size; Options() : message_loop_type(MessageLoop::TYPE_DEFAULT), stack_size(0) {} + Options(MessageLoop::Type type, size_t size) + : message_loop_type(type), stack_size(size) {} }; // Constructor. -- cgit v1.1