summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.cc
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:19:41 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:19:41 +0000
commit7c03692a1fce73101c9943549419c4bc3da38afc (patch)
tree03465fa1f155bc7aa3ef216df75f69184c5ca56b /webkit/glue/webpreferences.cc
parent4110be3441ef9666b83842cf746903151165dba2 (diff)
downloadchromium_src-7c03692a1fce73101c9943549419c4bc3da38afc.zip
chromium_src-7c03692a1fce73101c9943549419c4bc3da38afc.tar.gz
chromium_src-7c03692a1fce73101c9943549419c4bc3da38afc.tar.bz2
Adds --html5-parser flag to test_shell to test out the new HTML5 parsing code
This mirrors the same flag present in DumpRenderTree. TEST=none BUG=none Review URL: http://codereview.chromium.org/2477002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.cc')
-rwxr-xr-xwebkit/glue/webpreferences.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 0db217c..9a9207c2 100755
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -59,6 +59,7 @@ void WebPreferences::Apply(WebView* web_view) const {
WebRuntimeFeatures::enableDatabase(
WebRuntimeFeatures::isDatabaseEnabled() || databases_enabled);
settings->setOfflineWebApplicationCacheEnabled(application_cache_enabled);
+ settings->setHTML5ParserEnabled(enable_html5_parser);
// This setting affects the behavior of links in an editable region:
// clicking the link should select it rather than navigate to it.