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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm

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
Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
index 077877456f318d85668b8aa990edc949f4e55bad..f71dc801c239f461dce5d91ce40776edced3a8cf 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
@@ -72,6 +72,7 @@
#include "ui/gfx/text_elider.h"
#include "ui/native_theme/common_theme.h"
#include "ui/native_theme/native_theme.h"
+#include "ui/native_theme/native_theme_mac.h"
namespace {
@@ -198,7 +199,7 @@ NSTextView* BuildFixedWidthTextViewWithLink(
// Returns the native dialog background color.
NSColor* GetDialogBackgroundColor() {
return gfx::SkColorToCalibratedNSColor(
- ui::NativeTheme::instance()->GetSystemColor(
+ ui::NativeThemeMac::instance()->GetSystemColor(
ui::NativeTheme::kColorId_DialogBackground));
}

Powered by Google App Engine
This is Rietveld 408576698