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

Unified Diff: ui/native_theme/native_theme_mac_unittest.cc

Issue 2271653006: base::mac::IsOSSierra() -> base::mac::IsOS10_12(), etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Nits Created 4 years, 4 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
« no previous file with comments | « ui/native_theme/native_theme_mac.mm ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_mac_unittest.cc
diff --git a/ui/native_theme/native_theme_mac_unittest.cc b/ui/native_theme/native_theme_mac_unittest.cc
index cd8d49bcf9f7485193c7a2a171eab97780c5ead1..5d5f748fe145ebfcdb45a5411b8226aa66a8f241 100644
--- a/ui/native_theme/native_theme_mac_unittest.cc
+++ b/ui/native_theme/native_theme_mac_unittest.cc
@@ -41,7 +41,7 @@ TEST_F(NativeThemeMacTest, SystemColorSpotChecks) {
const SkColor kWindowColorYosemite = SkColorSetARGB(255, 236, 236, 236);
SkColor dialogColor =
native_theme->GetSystemColor(NativeTheme::kColorId_WindowBackground);
- if (base::mac::IsOSYosemiteOrLater())
+ if (base::mac::IsAtLeastOS10_10())
EXPECT_EQ(dialogColor, kWindowColorYosemite);
else
EXPECT_EQ(dialogColor, kWindowColorCatsMavericks);
« no previous file with comments | « ui/native_theme/native_theme_mac.mm ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698