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

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

Issue 2895313002: Rename ScopedComPtr::swap() to ScopedComPtr::Swap() (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.h ('k') | no next file » | 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 adbd19dcf6aa7f2b211d68da96d396d0fccd7107..48df1755ab31e9ed8ab1c96650110454273e7d3e 100644
--- a/chrome/browser/google/google_update_win.cc
+++ b/chrome/browser/google/google_update_win.cc
@@ -553,7 +553,7 @@ HRESULT UpdateCheckDriver::BeginUpdateCheckInternal(
app_bundle->put_parentHWND(
reinterpret_cast<ULONG_PTR>(elevation_window_));
}
- app_bundle_.swap(app_bundle);
+ app_bundle_.Swap(app_bundle);
}
// Get a reference to the Chrome app in the bundle.
@@ -571,7 +571,7 @@ HRESULT UpdateCheckDriver::BeginUpdateCheckInternal(
// Move the IAppBundleWeb reference into a local now so that failures from
// this point onward result in it being released.
base::win::ScopedComPtr<IAppBundleWeb> app_bundle;
- app_bundle.swap(app_bundle_);
+ app_bundle.Swap(app_bundle_);
hresult = app_bundle->get_appWeb(0, dispatch.GetAddressOf());
if (FAILED(hresult))
return hresult;
@@ -583,8 +583,8 @@ HRESULT UpdateCheckDriver::BeginUpdateCheckInternal(
hresult = app_bundle->checkForUpdate();
if (FAILED(hresult))
return hresult;
- app_bundle_.swap(app_bundle);
- app_.swap(app);
+ app_bundle_.Swap(app_bundle);
+ app_.Swap(app);
}
return hresult;
« no previous file with comments | « base/win/scoped_comptr.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698