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

Unified Diff: ui/native_theme/native_theme_mac_unittest.cc

Issue 1461923002: Change name of NativeTheme::instance() to make it clear it's web only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NATIVE_THEME_EXPORT for mac Created 5 years, 1 month 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/button_drag_utils.cc » ('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 0607034f56adb886ae2a94f4b9026211abaa4bfe..c7c92d6d861b437a9e013f65d580bca6ee9f49e4 100644
--- a/ui/native_theme/native_theme_mac_unittest.cc
+++ b/ui/native_theme/native_theme_mac_unittest.cc
@@ -13,7 +13,7 @@ namespace ui {
// platforms Chrome supports, and that their colorspace and component count is
// sane.
TEST(NativeThemeMacTest, SystemColorsExist) {
- NativeTheme* native_theme = NativeTheme::instance();
+ NativeTheme* native_theme = NativeThemeMac::instance();
ASSERT_TRUE(native_theme);
for (int i = 0; i < NativeTheme::kColorId_NumColors; ++i) {
// While 0 is a valid color, no system color should be fully transparent.
@@ -28,7 +28,7 @@ TEST(NativeThemeMacTest, SystemColorsExist) {
// Spot-check some system colours that can't be changed through System
// Preferences.
TEST(NativeThemeMacTest, SystemColorSpotChecks) {
- NativeTheme* native_theme = NativeTheme::instance();
+ NativeTheme* native_theme = NativeThemeMac::instance();
const SkColor kWindowColorCatsMavericks = SkColorSetARGB(255, 232, 232, 232);
const SkColor kWindowColorYosemite = SkColorSetARGB(255, 236, 236, 236);
SkColor dialogColor =
« no previous file with comments | « ui/native_theme/native_theme_mac.mm ('k') | ui/views/button_drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698