mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add TODO to deprecate boolean param
This commit is contained in:
@@ -40,6 +40,7 @@ struct Converter<atom::TrayIcon::HighlightMode> {
|
||||
}
|
||||
|
||||
// Support old boolean parameter
|
||||
// TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings
|
||||
bool highlight;
|
||||
if (ConvertFromV8(isolate, val, &highlight)) {
|
||||
if (highlight)
|
||||
|
||||
Reference in New Issue
Block a user