Bug 1558272: Add Windows 10 May 2019 Update to WindowsVersion.h; r=dmajor
authorAaron Klotz <aklotz@mozilla.com>
Mon, 10 Jun 2019 18:52:38 +0000
changeset 478111 20c4d3173a63197e132a5a35d8165c5c93a2cd61
parent 478110 2edc7c7ea248baca2932ee8fbe5936987f0161bf
child 478112 574b69ad261ed4d1fa4d0bc96fc66b1969a39435
push id36136
push usernerli@mozilla.com
push dateTue, 11 Jun 2019 03:18:15 +0000
treeherdermozilla-central@bb62c9157f04 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmajor
bugs1558272
milestone69.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 1558272: Add Windows 10 May 2019 Update to WindowsVersion.h; r=dmajor Differential Revision: https://phabricator.services.mozilla.com/D34390
mfbt/WindowsVersion.h
--- a/mfbt/WindowsVersion.h
+++ b/mfbt/WindowsVersion.h
@@ -153,16 +153,20 @@ MOZ_ALWAYS_INLINE bool IsWin10FallCreato
 MOZ_ALWAYS_INLINE bool IsWin10April2018UpdateOrLater() {
   return IsWindows10BuildOrLater(17134);
 }
 
 MOZ_ALWAYS_INLINE bool IsWin10Sep2018UpdateOrLater() {
   return IsWindows10BuildOrLater(17763);
 }
 
+MOZ_ALWAYS_INLINE bool IsWin10May2019UpdateOrLater() {
+  return IsWindows10BuildOrLater(18362);
+}
+
 MOZ_ALWAYS_INLINE bool IsNotWin7PreRTM() {
   return IsWin7SP1OrLater() || IsWindowsBuildOrLater(7600);
 }
 
 inline bool IsWin7AndPre2000Compatible() {
   /*
    * See Bug 1279171.
    * We'd like to avoid using WMF on specific OS version when compatibility