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

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

Issue 10825027: Turn on the fixed position stacking context flag by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « chrome/browser/about_flags.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 0179bb6e0c7640630d59251f22557b91a6187e8b..d0da5012ed4100df1723f4c48b52087ab32c02c0 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -588,8 +588,8 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh,
prefs.apply_default_device_scale_factor_in_compositor = true;
}
- prefs.fixed_position_creates_stacking_context =
- command_line.HasSwitch(switches::kFixedPositionCreatesStackingContext);
+ prefs.fixed_position_creates_stacking_context = !command_line.HasSwitch(
+ switches::kDisableFixedPositionCreatesStackingContext);
prefs.number_of_cpu_cores = base::SysInfo::NumberOfProcessors();
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698