| Index: chrome/browser/ui/views/status_icons/status_tray_state_changer_win.cc
|
| diff --git a/chrome/browser/ui/views/status_icons/status_tray_state_changer_win.cc b/chrome/browser/ui/views/status_icons/status_tray_state_changer_win.cc
|
| index 8a4596ed1a88bf6867739d03f6f7bc4d1aaa53cc..c17dafc44c83485a0a71efb059da71b8c6dc5bb8 100644
|
| --- a/chrome/browser/ui/views/status_icons/status_tray_state_changer_win.cc
|
| +++ b/chrome/browser/ui/views/status_icons/status_tray_state_changer_win.cc
|
| @@ -125,8 +125,7 @@ StatusTrayStateChangerWin::~StatusTrayStateChangerWin() {
|
| bool StatusTrayStateChangerWin::CreateTrayNotify() {
|
| DCHECK(CalledOnValidThread());
|
|
|
| - tray_notify_.Release(); // Release so this method can be called more than
|
| - // once.
|
| + tray_notify_.Reset(); // Reset so this method can be called more than once.
|
|
|
| HRESULT hr = tray_notify_.CreateInstance(CLSID_TrayNotify);
|
| if (FAILED(hr))
|
|
|