Bug 1183725 - Update the Windows 10 constant from the original 0x60004 to the current 0xA0000. r=bas
authorMilan Sreckovic <milan@mozilla.com>
Wed, 29 Jul 2015 13:02:00 -0400
changeset 287201 6c13c27a10ec938b47687d252ef9a89afed3774a
parent 287200 6b0074c4133d860b5a878fd1043c248a9b0ebf65
child 287202 de77ffb0f7689a30d4173f8e26d66b9c96400540
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbas
bugs1183725
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1183725 - Update the Windows 10 constant from the original 0x60004 to the current 0xA0000. r=bas
widget/windows/GfxInfo.cpp
--- a/widget/windows/GfxInfo.cpp
+++ b/widget/windows/GfxInfo.cpp
@@ -219,17 +219,17 @@ ParseIDFromDeviceID(const nsAString &key
 enum {
   kWindowsUnknown = 0,
   kWindowsXP = 0x50001,
   kWindowsServer2003 = 0x50002,
   kWindowsVista = 0x60000,
   kWindows7 = 0x60001,
   kWindows8 = 0x60002,
   kWindows8_1 = 0x60003,
-  kWindows10 = 0x60004
+  kWindows10 = 0xA0000
 };
 
 static int32_t
 WindowsOSVersion()
 {
   static int32_t winVersion = UNINITIALIZED_VALUE;
 
   OSVERSIONINFO vinfo;