diff options
Diffstat (limited to 'chrome/utility/utility_thread.cc')
-rw-r--r-- | chrome/utility/utility_thread.cc | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/chrome/utility/utility_thread.cc b/chrome/utility/utility_thread.cc index 46815b1..dc9f965 100644 --- a/chrome/utility/utility_thread.cc +++ b/chrome/utility/utility_thread.cc @@ -11,20 +11,11 @@ #include "chrome/common/extensions/extension_unpacker.h" #include "chrome/common/render_messages.h" -UtilityThread::UtilityThread() : ChildThread(base::Thread::Options()) { -} - -UtilityThread::~UtilityThread() { -} - -void UtilityThread::Init() { - ChildThread::Init(); +UtilityThread::UtilityThread() { ChildProcess::current()->AddRefProcess(); } -void UtilityThread::CleanUp() { - // Shutdown in reverse of the initialization order. - ChildThread::CleanUp(); +UtilityThread::~UtilityThread() { } void UtilityThread::OnControlMessageReceived(const IPC::Message& msg) { |