diff --git a/atom/browser/api/atom_api_tray.cc b/atom/browser/api/atom_api_tray.cc index e40d7660eae..701a5e9ac70 100644 --- a/atom/browser/api/atom_api_tray.cc +++ b/atom/browser/api/atom_api_tray.cc @@ -39,18 +39,6 @@ struct Converter { return true; } } - - // Support old boolean parameter - // TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings - bool highlight; - if (ConvertFromV8(isolate, val, &highlight)) { - if (highlight) - *out = atom::TrayIcon::HighlightMode::SELECTION; - else - *out = atom::TrayIcon::HighlightMode::NEVER; - return true; - } - return false; } };