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 275503 c0bed95cdc18733613b7650ce206e1b15865bcce
parent 275502 9b861360b297f18f62cb9c8dfb576fc9eb507331
child 275504 cc69ace5aa5b6a7f81ee2c630a14b6aaca76fa7d
child 275506 160be60325190b765549a02858192051f64f1a36
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbas, lmandel
bugs1183725
milestone40.0
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
@@ -217,17 +217,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;