| Index: ui/base/win/shell.cc
|
| diff --git a/ui/base/win/shell.cc b/ui/base/win/shell.cc
|
| index ee656edbfe559c32ad0ca1ed1e1af38e78faa45c..91eaf9313b78d9483f4f06b38af11d7e5cc53194 100644
|
| --- a/ui/base/win/shell.cc
|
| +++ b/ui/base/win/shell.cc
|
| @@ -10,6 +10,7 @@
|
| #include <shellapi.h>
|
|
|
| #include "base/command_line.h"
|
| +#include "base/debug/alias.h"
|
| #include "base/files/file_path.h"
|
| #include "base/native_library.h"
|
| #include "base/strings/string_util.h"
|
| @@ -146,7 +147,9 @@ bool IsAeroGlassEnabled() {
|
| switches::kDisableDwmComposition))
|
| return false;
|
|
|
| - if (base::win::GetVersion() < base::win::VERSION_VISTA)
|
| + base::win::Version version = base::win::GetVersion();
|
| + base::debug::Alias(&version); // TODO(scottmg): http://crbug.com/431549.
|
| + if (version < base::win::VERSION_VISTA)
|
| return false;
|
| // If composition is not enabled, we behave like on XP.
|
| BOOL enabled = FALSE;
|
|
|