Add TODO to deprecate boolean param

This commit is contained in:
Kevin Sawicki 2016-07-26 14:18:15 -07:00
parent 8e1de88512
commit c4e743d207

View file

@ -40,6 +40,7 @@ struct Converter<atom::TrayIcon::HighlightMode> {
} }
// Support old boolean parameter // Support old boolean parameter
// TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings
bool highlight; bool highlight;
if (ConvertFromV8(isolate, val, &highlight)) { if (ConvertFromV8(isolate, val, &highlight)) {
if (highlight) if (highlight)