summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker/spellcheck_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/spellchecker/spellcheck_service.cc')
-rw-r--r--chrome/browser/spellchecker/spellcheck_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/spellchecker/spellcheck_service.cc b/chrome/browser/spellchecker/spellcheck_service.cc
index 768f078..66f98c6 100644
--- a/chrome/browser/spellchecker/spellcheck_service.cc
+++ b/chrome/browser/spellchecker/spellcheck_service.cc
@@ -35,7 +35,7 @@ SpellcheckService::EventType g_status_type =
SpellcheckService::SpellcheckService(Profile* profile)
: profile_(profile),
- weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
+ weak_ptr_factory_(this) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
PrefService* prefs = profile_->GetPrefs();
pref_change_registrar_.Init(prefs);