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

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

Issue 10917269: Use a single flag for enabling experimental WebKit features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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 | « content/browser/renderer_host/render_process_host_impl.cc ('k') | 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 d0f7e125f3e1ab6de655dbf4ea5c7c83a38f276e..1bd9332c4c7839c4cde489ae6c9b6855fda8f06a 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -523,11 +523,11 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh,
prefs.fullscreen_enabled =
!command_line.HasSwitch(switches::kDisableFullScreen);
prefs.css_regions_enabled =
- command_line.HasSwitch(switches::kEnableCssRegions);
+ command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures);
prefs.css_shaders_enabled =
command_line.HasSwitch(switches::kEnableCssShaders);
prefs.css_variables_enabled =
- command_line.HasSwitch(switches::kEnableCssVariables);
+ command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures);
#if defined(USE_AURA) && defined(USE_X11)
prefs.device_supports_touch |=
ui::TouchFactory::GetInstance()->IsTouchDevicePresent();
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698