No need to reference the icon in Tray

This commit is contained in:
Cheng Zhao 2016-05-20 22:28:07 +09:00
parent a93c9462ed
commit 3182485e68
6 changed files with 15 additions and 16 deletions

View file

@ -69,8 +69,6 @@ class Tray : public mate::TrackableObject<Tray>,
private:
v8::Local<v8::Object> ModifiersToObject(v8::Isolate* isolate, int modifiers);
v8::Global<v8::Object> image_;
v8::Global<v8::Object> pressed_image_;
v8::Global<v8::Object> menu_;
scoped_ptr<TrayIcon> tray_icon_;