Bug 1183725 - Update the Windows 10 constant from the original 0x60004 to the current 0xA0000. r=bas, a=lmandel
authorMilan Sreckovic <milan@mozilla.com>
Wed, 29 Jul 2015 13:02:00 -0400
changeset 270530 e24d6e451e8502496cd3caac4badf7e906b454be
parent 270529 6c803c94a06b588e13c5df6994e1224e6774a7a3
child 270531 250b3d59502d658ee33fd6d8f8058e3e2ee2d5d6
push id8265
push userryanvm@gmail.com
push dateThu, 30 Jul 2015 20:25:35 +0000
treeherdermozilla-aurora@e24d6e451e85 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbas, lmandel
bugs1183725
milestone41.0a2
Bug 1183725 - Update the Windows 10 constant from the original 0x60004 to the current 0xA0000. r=bas, a=lmandel
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;