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

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

Issue 14940009: Rename the "Experimental WebKit Features" flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed one. Created 7 years, 7 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
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 43ec8e581e47467e292228b338ab5123f4179980..02042bf9b4f7023b8fdedbefbeb431470e3c471a 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -504,15 +504,15 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh,
prefs.fullscreen_enabled =
!command_line.HasSwitch(switches::kDisableFullScreen);
prefs.css_sticky_position_enabled =
- command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures);
+ command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures);
prefs.css_shaders_enabled =
command_line.HasSwitch(switches::kEnableCssShaders);
prefs.css_variables_enabled =
- command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures);
+ command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures);
prefs.css_grid_layout_enabled =
- command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures);
+ command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures);
prefs.lazy_layout_enabled =
- command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures);
+ command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures);
// TODO(abarth, eseidel): Enable threaded_html_parser by default on Android
// once crbug 230542 is resolved.

Powered by Google App Engine
This is Rietveld 408576698