| Index: Source/platform/win/SystemInfo.h
|
| diff --git a/Source/platform/win/SystemInfo.h b/Source/platform/win/SystemInfo.h
|
| index 8a56e2646435f615d1d9d42a7fdcc165c7346b7a..b9a34241fd50f1c15497b3abea793293bdff24a4 100644
|
| --- a/Source/platform/win/SystemInfo.h
|
| +++ b/Source/platform/win/SystemInfo.h
|
| @@ -31,38 +31,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -// NOTE: Keep these in order so callers can do things like
|
| -// "if (windowsVersion() >= WindowsVista) ...". It's OK to change or add values,
|
| -// though.
|
| -enum WindowsVersion {
|
| - // CE-based versions
|
| - WindowsCE1 = 0,
|
| - WindowsCE2,
|
| - WindowsCE3,
|
| - WindowsCE4,
|
| - WindowsCE5,
|
| - WindowsCE6,
|
| - WindowsCE7,
|
| - // 3.x-based versions
|
| - Windows3_1,
|
| - // 9x-based versions
|
| - Windows95,
|
| - Windows98,
|
| - WindowsME,
|
| - // NT-based versions
|
| - WindowsNT3,
|
| - WindowsNT4,
|
| - Windows2000,
|
| - WindowsXP,
|
| - WindowsServer2003,
|
| - WindowsVista,
|
| - WindowsServer2008,
|
| - Windows7,
|
| -};
|
| -
|
| -// If supplied, |major| and |minor| are set to the OSVERSIONINFO::dwMajorVersion
|
| -// and dwMinorVersion field values, respectively.
|
| -PLATFORM_EXPORT WindowsVersion windowsVersion(int* major = 0, int* minor = 0);
|
| +PLATFORM_EXPORT bool isWindowsVistaOrGreater();
|
|
|
| } // namespace WebCore
|
|
|
|
|