| Index: chrome/browser/spellcheck_host_impl.cc
|
| ===================================================================
|
| --- chrome/browser/spellcheck_host_impl.cc (revision 94334)
|
| +++ chrome/browser/spellcheck_host_impl.cc (working copy)
|
| @@ -143,8 +143,7 @@
|
| void SpellCheckHostImpl::InitForRenderer(RenderProcessHost* process) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| - Profile* profile = Profile::FromBrowserContext(process->browser_context());
|
| - PrefService* prefs = profile->GetPrefs();
|
| + PrefService* prefs = process->profile()->GetPrefs();
|
| IPC::PlatformFileForTransit file;
|
|
|
| if (GetDictionaryFile() != base::kInvalidPlatformFileValue) {
|
|
|