Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 8233040: SpellCheck refactoring: Moved user custom dictionary for spell check to SpellCheckProfile. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698