Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: third_party/WebKit/Source/platform/mac/VersionUtilMac.mm

Issue 2043883002: mac: Delete some pre-OS X 10.9 code in blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/mac/VersionUtilMac.mm
diff --git a/third_party/WebKit/Source/platform/mac/VersionUtilMac.mm b/third_party/WebKit/Source/platform/mac/VersionUtilMac.mm
index 6567430b3f8c6278380bcbcae89cde4bfc80e8cc..7eb98199fbcbe38b010abd28e7b9c1f295ffbc68 100644
--- a/third_party/WebKit/Source/platform/mac/VersionUtilMac.mm
+++ b/third_party/WebKit/Source/platform/mac/VersionUtilMac.mm
@@ -57,7 +57,6 @@ int MacOSXMinorVersion()
}
enum {
- LION_MINOR_VERSION = 7,
MAVERICKS_MINOR_VERSION = 9,
YOSEMITE_MINOR_VERSION = 10,
EL_CAPITAN_MINOR_VERSION = 11,
@@ -67,16 +66,6 @@ enum {
namespace blink {
-bool IsOSLionOrEarlier()
-{
- return MacOSXMinorVersion() <= LION_MINOR_VERSION;
-}
-
-bool IsOSMavericksOrEarlier()
-{
- return MacOSXMinorVersion() <= MAVERICKS_MINOR_VERSION;
-}
-
bool IsOSMavericks()
{
return MacOSXMinorVersion() == MAVERICKS_MINOR_VERSION;
« no previous file with comments | « third_party/WebKit/Source/platform/mac/VersionUtilMac.h ('k') | third_party/WebKit/Source/platform/mac/VersionUtilMacTest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698