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 a26a8d97a2b9524b7af694d9176e79bdb68bed0e..be2b104ee215ec7763ba97a787377dbf5a30e02e 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -188,6 +188,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
command_line.HasSwitch(switches::kEnableExperimentalWebGL); |
web_prefs.experimental_notifications_enabled = |
command_line.HasSwitch(switches::kEnableDesktopNotifications); |
+ web_prefs.web_sockets_enabled = |
+ command_line.HasSwitch(switches::kEnableWebSockets); |
} |
web_prefs.uses_universal_detector = |