| Index: chrome/browser/search/hotword_service.cc
|
| diff --git a/chrome/browser/search/hotword_service.cc b/chrome/browser/search/hotword_service.cc
|
| index cb6f7903a8b62cef3e1f673f4620edfee247e29e..24fa2120f0a72d1a4a0f446c3e383b636e49d271 100644
|
| --- a/chrome/browser/search/hotword_service.cc
|
| +++ b/chrome/browser/search/hotword_service.cc
|
| @@ -402,7 +402,7 @@ HotwordService::HotwordService(Profile* profile)
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::UI, FROM_HERE,
|
| base::Bind(&HotwordService::InitializeMicrophoneObserver,
|
| - base::Unretained(this)));
|
| + weak_factory_.GetWeakPtr()));
|
| }
|
|
|
| HotwordService::~HotwordService() {
|
|
|