Skip to content

Commit

Permalink
Update shell/browser/api/atom_api_system_preferences_mac.mm
Browse files Browse the repository at this point in the history
Co-Authored-By: Samuel Attard <sattard@slack-corp.com>
  • Loading branch information
codebytere and MarshallOfSound committed Oct 18, 2019
1 parent 6100e99 commit e0ea383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/atom_api_system_preferences_mac.mm
Expand Up @@ -510,7 +510,7 @@ AVMediaType ParseMediaType(const std::string& media_type) {
if (color == "alternate-selected-control-text") {
sysColor = [NSColor alternateSelectedControlTextColor];
EmitDeprecationWarning(node::Environment::GetCurrent(thrower.isolate()),
"Use selected-content-background instead.",
"'alternate-selected-control-text' is deprecated as an input to getColor. Use 'selected-content-background' instead.",
"electron");
} else if (color == "control-background") {
sysColor = [NSColor controlBackgroundColor];
Expand Down

0 comments on commit e0ea383

Please sign in to comment.