Chromium Code Reviews| Index: ui/base/win/shell.cc |
| diff --git a/ui/base/win/shell.cc b/ui/base/win/shell.cc |
| index 60c3ac5175dadeaabc1ad1930c51b68557f83fb1..a4950725bfbf78a177d3439be95e4baecc3bb698 100644 |
| --- a/ui/base/win/shell.cc |
| +++ b/ui/base/win/shell.cc |
| @@ -150,7 +150,9 @@ bool IsAeroGlassEnabled() { |
| base::win::Version version = base::win::GetVersion(); |
| base::debug::Alias(&version); // TODO(scottmg): http://crbug.com/431549. |
|
scottmg
2014/12/05 22:39:55
This is unnecessary now, would you mind deleting i
|
| - if (version < base::win::VERSION_VISTA) |
| + // technically Aero glass works in Vista but we want to put XP and Vista |
|
scottmg
2014/12/05 22:39:55
nit; capital T.
|
| + // at the same feature level. See bug 426573. |
| + if (version < base::win::VERSION_WIN7) |
| return false; |
| // If composition is not enabled, we behave like on XP. |
| BOOL enabled = FALSE; |