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

Unified Diff: chrome/browser/net/net_error_tab_helper.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/net/net_error_tab_helper.cc
diff --git a/chrome/browser/net/net_error_tab_helper.cc b/chrome/browser/net/net_error_tab_helper.cc
index 0a85912304f52841276f65186b8328d674f28b1a..7a0ae2782c30304dfbd001c6df1ab5bf6e94c689 100644
--- a/chrome/browser/net/net_error_tab_helper.cc
+++ b/chrome/browser/net/net_error_tab_helper.cc
@@ -81,8 +81,7 @@ void NetErrorTabHelper::InitializePref(WebContents* contents) {
Profile* profile = Profile::FromBrowserContext(browser_context);
resolve_errors_with_web_service_.Init(
prefs::kAlternateErrorPagesEnabled,
- profile->GetPrefs(),
- NULL /* no observer */);
+ profile->GetPrefs());
pref_initialized_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698