Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1669)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 12335103: Enable the threaded HTML parser by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Without DEPS change Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index e8e55a7428126417ecbbf40ac46133eb9818df5c..7dc848295a03875c4843c910b00d650a7b3bb961 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -536,7 +536,7 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh,
prefs.record_rendering_stats =
command_line.HasSwitch(switches::kEnableGpuBenchmarking);
prefs.threaded_html_parser =
- command_line.HasSwitch(switches::kEnableThreadedHTMLParser);
+ !command_line.HasSwitch(switches::kDisableThreadedHTMLParser);
bool touch_device_present = false;
touch_device_present = ui::IsTouchDevicePresent();
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698