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

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

Issue 8345034: SpellCheck: the custom dictionary should be per profile. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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 38796859435038e603ca1513f66a9b31c9ea660f..b8bab7fe99ef12a32830b61e31f6fa1171b7be97 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1680,6 +1680,6 @@ void ProfileImpl::ClearNetworkingHistorySince(base::Time time) {
SpellCheckProfile* ProfileImpl::GetSpellCheckProfile() {
if (!spellcheck_profile_.get())
- spellcheck_profile_.reset(new SpellCheckProfile());
+ spellcheck_profile_.reset(new SpellCheckProfile(path_));
return spellcheck_profile_.get();
}
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spellcheck_host_impl.h » ('j') | chrome/browser/spellchecker/spellcheck_profile.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698