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(); |