Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2983)

Unified Diff: chrome/browser/google/google_update_win.cc

Issue 2864523002: Rename ScopedComPtr::QueryInterface to ScopedComPtr::CopyTo (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/win/scoped_comptr_unittest.cc ('k') | chrome/browser/win/jumplist_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google/google_update_win.cc
diff --git a/chrome/browser/google/google_update_win.cc b/chrome/browser/google/google_update_win.cc
index 0b1d6469ea997c858296a063e5c27b7c5c86b270..4c93b43259367494b21782ab1ef0637fb87283eb 100644
--- a/chrome/browser/google/google_update_win.cc
+++ b/chrome/browser/google/google_update_win.cc
@@ -529,7 +529,7 @@ HRESULT UpdateCheckDriver::BeginUpdateCheckInternal(
hresult = google_update_->createAppBundleWeb(dispatch.Receive());
if (FAILED(hresult))
return hresult;
- hresult = dispatch.QueryInterface(app_bundle.Receive());
+ hresult = dispatch.CopyTo(app_bundle.Receive());
if (FAILED(hresult))
return hresult;
dispatch.Reset();
@@ -576,7 +576,7 @@ HRESULT UpdateCheckDriver::BeginUpdateCheckInternal(
if (FAILED(hresult))
return hresult;
base::win::ScopedComPtr<IAppWeb> app;
- hresult = dispatch.QueryInterface(app.Receive());
+ hresult = dispatch.CopyTo(app.Receive());
if (FAILED(hresult))
return hresult;
ConfigureProxyBlanket(app.Get());
@@ -598,7 +598,7 @@ bool UpdateCheckDriver::GetCurrentState(
*hresult = app_->get_currentState(dispatch.Receive());
if (FAILED(*hresult))
return false;
- *hresult = dispatch.QueryInterface(current_state->Receive());
+ *hresult = dispatch.CopyTo(current_state->Receive());
if (FAILED(*hresult))
return false;
ConfigureProxyBlanket(current_state->Get());
« no previous file with comments | « base/win/scoped_comptr_unittest.cc ('k') | chrome/browser/win/jumplist_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698