Bug 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm
authorRichard Marti <richard.marti@gmail.com>
Mon, 17 Feb 2014 18:43:08 +0100
changeset 169342 6b29406a1ed92eeb9f7eb09b73d10a3f33352285
parent 169341 183380b99514e28a2b173423286829ac1ded0432
child 169343 3576a62195ecdef9a289aa0704a2e326b32bb204
push id26245
push userryanvm@gmail.com
push dateTue, 18 Feb 2014 20:18:17 +0000
treeherdermozilla-central@9019cc90719c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs907373
milestone30.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 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm
widget/windows/nsLookAndFeel.cpp
--- a/widget/windows/nsLookAndFeel.cpp
+++ b/widget/windows/nsLookAndFeel.cpp
@@ -424,16 +424,17 @@ nsLookAndFeel::GetIntImpl(IntID aID, int
                 break;
             case VISTA_VERSION:
                 aResult = LookAndFeel::eOperatingSystemVersion_WindowsVista;
                 break;
             case WIN7_VERSION:
                 aResult = LookAndFeel::eOperatingSystemVersion_Windows7;
                 break;
             case WIN8_VERSION:
+            case WIN8_1_VERSION:
                 aResult = LookAndFeel::eOperatingSystemVersion_Windows8;
                 break;
             default:
                 aResult = LookAndFeel::eOperatingSystemVersion_Unknown;
                 break;
         }
         break;
     }