| Index: chrome/browser/spellchecker/spellcheck_host.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_host.cc b/chrome/browser/spellchecker/spellcheck_host.cc
|
| index cd20c1375032e3362548c933e4d1f67354e6d47d..4bd3ad0f27b3de27d935c8b5eecb07dd36b6f19f 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_host.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_host.cc
|
| @@ -25,15 +25,13 @@ SpellCheckHost::EventType g_status_type = SpellCheckHost::BDICT_NOTINITIALIZED;
|
| } // namespace
|
|
|
| // static
|
| -scoped_refptr<SpellCheckHost> SpellCheckHost::Create(
|
| +SpellCheckHost* SpellCheckHost::Create(
|
| SpellCheckProfileProvider* profile,
|
| const std::string& language,
|
| net::URLRequestContextGetter* request_context_getter,
|
| SpellCheckHostMetrics* metrics) {
|
| - scoped_refptr<SpellCheckHostImpl> host =
|
| - new SpellCheckHostImpl(profile,
|
| - language,
|
| - request_context_getter,
|
| + SpellCheckHostImpl* host =
|
| + new SpellCheckHostImpl(profile, language, request_context_getter,
|
| metrics);
|
| if (!host)
|
| return NULL;
|
|
|