| Index: chrome_frame/dll_redirector.cc
|
| ===================================================================
|
| --- chrome_frame/dll_redirector.cc (revision 88826)
|
| +++ chrome_frame/dll_redirector.cc (working copy)
|
| @@ -15,7 +15,6 @@
|
| #include "base/path_service.h"
|
| #include "base/shared_memory.h"
|
| #include "base/string_util.h"
|
| -#include "base/sys_info.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "base/version.h"
|
| #include "base/win/windows_version.h"
|
| @@ -57,11 +56,7 @@
|
| bool DllRedirector::BuildSecurityAttributesForLock(
|
| CSecurityAttributes* sec_attr) {
|
| DCHECK(sec_attr);
|
| - int32 major_version, minor_version, fix_version;
|
| - base::SysInfo::OperatingSystemVersionNumbers(&major_version,
|
| - &minor_version,
|
| - &fix_version);
|
| - if (major_version < 6) {
|
| + if (base::win::GetVersion() < base::win::VERSION_VISTA) {
|
| // Don't bother with changing ACLs on pre-vista.
|
| return false;
|
| }
|
|
|