| Index: chrome/browser/spellchecker/spellcheck_profile.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_profile.cc b/chrome/browser/spellchecker/spellcheck_profile.cc
|
| index dd148041fe330134f261ec429ce143f213a1a350..ecb6cb9e5b11daf8bc6b4dae948efa8294e57850 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_profile.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_profile.cc
|
| @@ -52,13 +52,13 @@ SpellCheckProfile::ReinitializeResult SpellCheckProfile::ReinitializeHost(
|
| bool host_deleted = false;
|
| if (host_.get()) {
|
| host_->UnsetProfile();
|
| - host_ = NULL;
|
| + host_.reset(NULL);
|
| host_deleted = true;
|
| }
|
|
|
| if (enable) {
|
| // Retrieve the (perhaps updated recently) dictionary name from preferences.
|
| - host_ = CreateHost(this, language, request_context, metrics_.get());
|
| + host_.reset(CreateHost(this, language, request_context, metrics_.get()));
|
| return REINITIALIZE_CREATED_HOST;
|
| }
|
|
|
|
|