diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 19:46:00 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 19:46:00 +0000 |
commit | 1ba49a951c631bf312a000c6ac2919f5595e39db (patch) | |
tree | 04f7970ff527e9810f363f33e20c5467bec6b3af /chrome/browser/views/options | |
parent | f505a9b267f83d8375eee2037e5e08dc6197143d (diff) | |
download | chromium_src-1ba49a951c631bf312a000c6ac2919f5595e39db.zip chromium_src-1ba49a951c631bf312a000c6ac2919f5595e39db.tar.gz chromium_src-1ba49a951c631bf312a000c6ac2919f5595e39db.tar.bz2 |
Fix broken pref usage; I changed the registration to a user pref but didn't change the read.
BUG=32719
TEST=Invoking the content settings window doesn't crash
Review URL: http://codereview.chromium.org/551192
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options')
-rw-r--r-- | chrome/browser/views/options/content_settings_window_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/options/content_settings_window_view.cc b/chrome/browser/views/options/content_settings_window_view.cc index a27b3cc..6a941bb 100644 --- a/chrome/browser/views/options/content_settings_window_view.cc +++ b/chrome/browser/views/options/content_settings_window_view.cc @@ -59,7 +59,7 @@ ContentSettingsWindowView::ContentSettingsWindowView(Profile* profile) profile_(profile->GetOriginalProfile()) { // We don't need to observe changes in this value. last_selected_page_.Init(prefs::kContentSettingsWindowLastTabIndex, - g_browser_process->local_state(), NULL); + profile->GetPrefs(), NULL); } ContentSettingsWindowView::~ContentSettingsWindowView() { |