]> khamidou — GitHub mirrors - electron.git/commit
Initialized rect with zeros
authorSeppe Stas <seppestas@gmail.com>
Mon, 8 Jun 2015 17:07:46 +0000 (19:07 +0200)
committerSeppe Stas <seppestas@gmail.com>
Mon, 8 Jun 2015 17:07:46 +0000 (19:07 +0200)
commitcac97cca0da04513edd33614af910b803b1a39cb
tree2e60a1a7e8ced799eb5442fbe4a3ed37efc92c51
parent16c08e7e374718be487f566d557c2bdb1ba356ea
Initialized rect with zeros

As per @zcbenz 's remark: The rect should be initialized with zeros to prevent random values being passed to the click event handler when `Shell_NotifyIconGetRect` fails.
atom/browser/ui/win/notify_icon.cc