| Index: ui/gfx/render_text.cc
|
| diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc
|
| index 7ccaaa6131a5ece76f65603b9c3cc7f5450b4248..09346b26231db4ab3f6783a7e2a7848e5eadab57 100644
|
| --- a/ui/gfx/render_text.cc
|
| +++ b/ui/gfx/render_text.cc
|
| @@ -48,7 +48,12 @@ namespace {
|
| // All chars are replaced by this char when the password style is set.
|
| // TODO(benrg): GTK uses the first of U+25CF, U+2022, U+2731, U+273A, '*'
|
| // that's available in the font (find_invisible_char() in gtkentry.c).
|
| +// Use a bullet character on Mac.
|
| +#if defined(OS_MACOSX)
|
| +const base::char16 kPasswordReplacementChar = 0x2022;
|
| +#else
|
| const base::char16 kPasswordReplacementChar = '*';
|
| +#endif
|
|
|
| // Default color used for the text and cursor.
|
| const SkColor kDefaultColor = SK_ColorBLACK;
|
|
|