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

Unified Diff: chrome/browser/tab_contents/spelling_menu_observer.cc

Issue 11316163: Remove the last usages of PrefObserver outside of Prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win and CrOS build. Created 8 years 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/tab_contents/spelling_menu_observer.cc
diff --git a/chrome/browser/tab_contents/spelling_menu_observer.cc b/chrome/browser/tab_contents/spelling_menu_observer.cc
index 98bbd0bd15eee2c026fcc2fd8919e1ec43622c4a..b3566fc5b68c0ab4cc0aa3362ee33204b3af05b3 100644
--- a/chrome/browser/tab_contents/spelling_menu_observer.cc
+++ b/chrome/browser/tab_contents/spelling_menu_observer.cc
@@ -36,7 +36,7 @@ SpellingMenuObserver::SpellingMenuObserver(RenderViewContextMenuProxy* proxy)
succeeded_(false) {
if (proxy && proxy->GetProfile())
integrate_spelling_service_.Init(prefs::kSpellCheckUseSpellingService,
- proxy->GetProfile()->GetPrefs(), NULL);
+ proxy->GetProfile()->GetPrefs());
}
SpellingMenuObserver::~SpellingMenuObserver() {

Powered by Google App Engine
This is Rietveld 408576698