Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index ab02f24b62df6fbba2682ff432ce7fccc6a5b50e..de7bd8080edf637e4c808e494ac1d97f7c616e16 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -325,8 +325,6 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs(const GURL& url) { |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |
- prefs.javascript_enabled = |
- !command_line.HasSwitch(switches::kDisableJavaScript); |
prefs.web_security_enabled = |
!command_line.HasSwitch(switches::kDisableWebSecurity); |
prefs.plugins_enabled = |