Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[W32] windowsVersion() and osVersionForUAString() are outdated
https://bugs.webkit.org/show_bug.cgi?id=143771 Patch by Руслан Ижбулатов <lrn1986@gmail.com> on 2015-04-15 Reviewed by Darin Adler Update windowsVersion() and osVersionForUAString() Add support for newer Windows versions to windowsVersion(), handle all defined cases in osVersionForUAString(), avoiding warnings like ../webkitgtk-2.4.8/Source/WebCore/platform/win/SystemInfo.cpp: In function 'WTF::String WebCore::osVersionForUAString()': ../webkitgtk-2.4.8/Source/WebCore/platform/win/SystemInfo.cpp:94:12: warning: enumeration value 'WindowsCE5' not handled in switch [-Wswitch] repeated for each unhandled value * platform/win/SystemInfo.cpp: (WebCore::windowsVersion): (WebCore::osVersionForUAString): * platform/win/SystemInfo.h:
- Loading branch information
1 parent
8b1ef93
commit 705d057
Showing
3 changed files
with
136 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters