Index: chrome/browser/spellchecker/spellcheck_host_impl.cc |
=================================================================== |
--- chrome/browser/spellchecker/spellcheck_host_impl.cc (revision 110303) |
+++ chrome/browser/spellchecker/spellcheck_host_impl.cc (working copy) |
@@ -23,9 +23,9 @@ |
#include "chrome/common/pref_names.h" |
#include "chrome/common/spellcheck_common.h" |
#include "chrome/common/spellcheck_messages.h" |
-#include "content/browser/renderer_host/render_process_host.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
+#include "content/public/browser/render_process_host.h" |
#include "content/public/common/url_fetcher.h" |
#include "googleurl/src/gurl.h" |
#include "net/url_request/url_request_context_getter.h" |
@@ -167,7 +167,7 @@ |
// Bug 103693: SpellCheckHostImpl and SpellCheckProfile should not |
// depend on Profile interface. |
- Profile* profile = Profile::FromBrowserContext(process->browser_context()); |
+ Profile* profile = Profile::FromBrowserContext(process->GetBrowserContext()); |
if (profile->GetSpellCheckHost() != this) |
return; |