Bug 1558272: Add Windows 10 May 2019 Update to WindowsVersion.h; r=dmajor, a=jcristau
authorAaron Klotz <aklotz@mozilla.com>
Mon, 10 Jun 2019 18:52:38 +0000
changeset 533757 7d0193261d238000fac1ac34025e52d4905a9ad7
parent 533756 5baea46a218f1f526b90cbf2cd00d91ba16adc35
child 533758 8a4c14d86baa1ab9a8b42cecc0675316de6b9abc
push id11419
push userryanvm@gmail.com
push dateTue, 11 Jun 2019 14:37:47 +0000
treeherdermozilla-beta@8a4c14d86baa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmajor, jcristau
bugs1558272
milestone68.0
Bug 1558272: Add Windows 10 May 2019 Update to WindowsVersion.h; r=dmajor, a=jcristau 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