Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 44c7774eaa464774db66c369108e4661d2fe09cf..a4fb56f84eafa3ecd94b497e18edaa80ad74945e 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -1759,7 +1759,7 @@ void ProfileImpl::ClearNetworkingHistorySince(base::Time time) { |
SpellCheckProfile* ProfileImpl::GetSpellCheckProfile() { |
if (!spellcheck_profile_.get()) |
- spellcheck_profile_.reset(new SpellCheckProfile()); |
+ spellcheck_profile_ = new SpellCheckProfile(); |
Miranda Callahan
2011/10/12 14:33:05
scoped_ptr still uses the .reset function.
shinyak (Google)
2011/10/13 07:51:22
I've changed SpellCheckProfile ref-counted object
Hironori Bono
2011/10/13 09:29:59
Is it possible to describe more details about why
Miranda Callahan
2011/10/13 14:33:12
My apologies, you're right, of course -- I don't k
|
return spellcheck_profile_.get(); |
} |