| Index: content/browser/browser_process_sub_thread.cc
|
| ===================================================================
|
| --- content/browser/browser_process_sub_thread.cc (revision 111697)
|
| +++ content/browser/browser_process_sub_thread.cc (working copy)
|
| @@ -17,6 +17,8 @@
|
| : BrowserThreadImpl(identifier) {}
|
|
|
| BrowserProcessSubThread::~BrowserProcessSubThread() {
|
| + // We cannot rely on our base class to stop the thread since we want our
|
| + // CleanUp function to run.
|
| Stop();
|
| }
|
|
|
| @@ -27,13 +29,9 @@
|
| #endif
|
|
|
| notification_service_ = new NotificationServiceImpl;
|
| -
|
| - BrowserThreadImpl::Init();
|
| }
|
|
|
| void BrowserProcessSubThread::CleanUp() {
|
| - BrowserThreadImpl::CleanUp();
|
| -
|
| delete notification_service_;
|
| notification_service_ = NULL;
|
|
|
|
|