summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/thread.h2
1 files changed, 2 insertions, 0 deletions
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.