| Index: content/browser/tab_contents/tab_contents.cc
|
| diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
|
| index ebee41c41c89279bdad3d3f4e07a569eeb979396..d62157ebb496aec19bc545e744ba9208ee788b17 100644
|
| --- a/content/browser/tab_contents/tab_contents.cc
|
| +++ b/content/browser/tab_contents/tab_contents.cc
|
| @@ -160,7 +160,8 @@ const char* kPrefsToObserve[] = {
|
| prefs::kWebKitMinimumFontSize,
|
| prefs::kWebKitMinimumLogicalFontSize,
|
| prefs::kWebkitTabsToLinks,
|
| - prefs::kDefaultCharset
|
| + prefs::kDefaultCharset,
|
| + prefs::kEnableReferrers
|
| };
|
|
|
| const int kPrefsToObserveLength = arraysize(kPrefsToObserve);
|
| @@ -2501,6 +2502,10 @@ void TabContents::Observe(NotificationType type,
|
| UpdateWebPreferences();
|
| } else if (*pref_name_in == prefs::kDefaultZoomLevel) {
|
| UpdateZoomLevel();
|
| + } else if (*pref_name_in == prefs::kEnableReferrers) {
|
| + renderer_preferences_util::UpdateFromSystemSettings(
|
| + &renderer_preferences_, profile());
|
| + render_view_host()->SyncRendererPrefs();
|
| } else {
|
| NOTREACHED() << "unexpected pref change notification" << *pref_name_in;
|
| }
|
|
|