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 c17dafc44c83485a0a71efb059da71b8c6dc5bb8..b5d3f83ee80271793cc8cff9ee1954a2ddbee443 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 |
@@ -132,14 +132,14 @@ bool StatusTrayStateChangerWin::CreateTrayNotify() { |
return false; |
base::win::ScopedComPtr<ITrayNotifyWin8> tray_notify_win8; |
- hr = tray_notify_win8.QueryFrom(tray_notify_.get()); |
+ hr = tray_notify_win8.QueryFrom(tray_notify_.Get()); |
if (SUCCEEDED(hr)) { |
interface_version_ = INTERFACE_VERSION_WIN8; |
return true; |
} |
base::win::ScopedComPtr<ITrayNotify> tray_notify_legacy; |
- hr = tray_notify_legacy.QueryFrom(tray_notify_.get()); |
+ hr = tray_notify_legacy.QueryFrom(tray_notify_.Get()); |
if (SUCCEEDED(hr)) { |
interface_version_ = INTERFACE_VERSION_LEGACY; |
return true; |
@@ -174,7 +174,7 @@ std::unique_ptr<NOTIFYITEM> StatusTrayStateChangerWin::RegisterCallback() { |
bool StatusTrayStateChangerWin::RegisterCallbackWin8() { |
base::win::ScopedComPtr<ITrayNotifyWin8> tray_notify_win8; |
- HRESULT hr = tray_notify_win8.QueryFrom(tray_notify_.get()); |
+ HRESULT hr = tray_notify_win8.QueryFrom(tray_notify_.Get()); |
if (FAILED(hr)) |
return false; |
@@ -194,7 +194,7 @@ bool StatusTrayStateChangerWin::RegisterCallbackWin8() { |
bool StatusTrayStateChangerWin::RegisterCallbackLegacy() { |
base::win::ScopedComPtr<ITrayNotify> tray_notify; |
- HRESULT hr = tray_notify.QueryFrom(tray_notify_.get()); |
+ HRESULT hr = tray_notify.QueryFrom(tray_notify_.Get()); |
if (FAILED(hr)) { |
return false; |
} |
@@ -221,12 +221,12 @@ void StatusTrayStateChangerWin::SendNotifyItemUpdate( |
std::unique_ptr<NOTIFYITEM> notify_item) { |
if (interface_version_ == INTERFACE_VERSION_LEGACY) { |
base::win::ScopedComPtr<ITrayNotify> tray_notify; |
- HRESULT hr = tray_notify.QueryFrom(tray_notify_.get()); |
+ HRESULT hr = tray_notify.QueryFrom(tray_notify_.Get()); |
if (SUCCEEDED(hr)) |
tray_notify->SetPreference(notify_item.get()); |
} else if (interface_version_ == INTERFACE_VERSION_WIN8) { |
base::win::ScopedComPtr<ITrayNotifyWin8> tray_notify; |
- HRESULT hr = tray_notify.QueryFrom(tray_notify_.get()); |
+ HRESULT hr = tray_notify.QueryFrom(tray_notify_.Get()); |
if (SUCCEEDED(hr)) |
tray_notify->SetPreference(notify_item.get()); |
} |