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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm

Issue 107623002: Use the NativeTheme to create the text color for text during the generated card animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: darkGrayColor is a method; call it. Created 6 years, 11 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: chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm b/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm
index 8cff21868013d6e3e1b1722ff45ab43d3e68b7c6..53d6901129f884b800b4582ad894d8bb3ecc9cc2 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm
@@ -95,7 +95,7 @@ SkColor kSubtleBorderColor = 0xffdfdfdf;
// We probably want to look at other multi-line messages somewhere.
[label_ setFont:message.font.GetNativeFont()];
[label_ setStringValue:base::SysUTF16ToNSString(message.text)];
- [label_ setTextColor:gfx::SkColorToCalibratedNSColor(message.text_color)];
+ [label_ setTextColor:[NSColor darkGrayColor]];
// Resize only height, preserve width. This guarantees text stays centered in
// the dialog.
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_types.h ('k') | chrome/browser/ui/views/autofill/autofill_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698