Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
index f88dddb6492cbcaaa0a2973d982e4a5503b150d9..fe0b9c6a58862f8f971212922254d1ef3815e93a 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -308,8 +308,6 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
!command_line.HasSwitch(switches::kDisableAcceleratedVideo); |
web_prefs.memory_info_enabled = |
command_line.HasSwitch(switches::kEnableMemoryInfo); |
- web_prefs.hyperlink_auditing_enabled = |
- !command_line.HasSwitch(switches::kNoPings); |
web_prefs.interactive_form_validation_enabled = |
!command_line.HasSwitch(switches::kDisableInteractiveFormValidation); |
web_prefs.fullscreen_enabled = |
@@ -341,6 +339,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
prefs->GetBoolean(prefs::kWebKitUsesUniversalDetector); |
web_prefs.text_areas_are_resizable = |
prefs->GetBoolean(prefs::kWebKitTextAreasAreResizable); |
+ web_prefs.hyperlink_auditing_enabled = |
+ prefs->GetBoolean(prefs::kEnableHyperlinkAuditing); |
// Make sure we will set the default_encoding with canonical encoding name. |
web_prefs.default_encoding = |