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 6116d4bf979df1f6ac416104975b022aceefd735..0946340f43863d7b51eda2d5ce7a432136c8a61a 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -472,7 +472,7 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
web_prefs.accelerated_video_enabled = |
!command_line.HasSwitch(switches::kDisableAcceleratedVideo); |
web_prefs.memory_info_enabled = |
- command_line.HasSwitch(switches::kEnableMemoryInfo); |
+ prefs->GetBoolean(prefs::kEnableMemoryInfo); |
web_prefs.interactive_form_validation_enabled = |
!command_line.HasSwitch(switches::kDisableInteractiveFormValidation); |
web_prefs.fullscreen_enabled = |