Chromium Code Reviews| 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 a5306421ab2fe3ff55640cbad1b044a228a330ca..a99d549c9077e65d810c9c7cbd599ad7ea4ca60a 100644 |
| --- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
| +++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
| @@ -268,6 +268,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
| command_line.HasSwitch(switches::kShowCompositedLayerBorders); |
| web_prefs.accelerated_compositing_enabled = |
| command_line.HasSwitch(switches::kEnableAcceleratedCompositing); |
| + web_prefs.memory_info_enabled = |
| + command_line.HasSwitch(switches::kEnableMemoryInfo); |
|
pfeldman
2010/07/16 11:25:12
kEnablePerformanceMemoryInfo ?
|
| // The user stylesheet watcher may not exist in a testing profile. |
| if (profile->GetUserStyleSheetWatcher()) { |
| web_prefs.user_style_sheet_enabled = true; |