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

Unified Diff: chrome/installer/util/advanced_firewall_manager_win.cc

Issue 2870263002: Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf (Closed)
Patch Set: Rebase to 2a6f440 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 | « chrome/browser/win/settings_app_monitor.cc ('k') | chrome/installer/util/legacy_firewall_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/advanced_firewall_manager_win.cc
diff --git a/chrome/installer/util/advanced_firewall_manager_win.cc b/chrome/installer/util/advanced_firewall_manager_win.cc
index cd4625fd5dba3397822918f16ed4556c45b8bb22..d5ea41ce3449e0c8091831f3f7f8c0c08d135677 100644
--- a/chrome/installer/util/advanced_firewall_manager_win.cc
+++ b/chrome/installer/util/advanced_firewall_manager_win.cc
@@ -29,7 +29,7 @@ bool AdvancedFirewallManager::Init(const base::string16& app_name,
firewall_policy_ = NULL;
return false;
}
- hr = firewall_policy_->get_Rules(firewall_rules_.Receive());
+ hr = firewall_policy_->get_Rules(firewall_rules_.GetAddressOf());
if (FAILED(hr)) {
DLOG(ERROR) << logging::SystemErrorCodeToString(hr);
firewall_rules_ = NULL;
@@ -151,7 +151,7 @@ base::win::ScopedComPtr<INetFwRule> AdvancedFirewallManager::CreateUDPRule(
void AdvancedFirewallManager::GetAllRules(
std::vector<base::win::ScopedComPtr<INetFwRule> >* rules) {
base::win::ScopedComPtr<IUnknown> rules_enum_unknown;
- HRESULT hr = firewall_rules_->get__NewEnum(rules_enum_unknown.Receive());
+ HRESULT hr = firewall_rules_->get__NewEnum(rules_enum_unknown.GetAddressOf());
if (FAILED(hr)) {
DLOG(ERROR) << logging::SystemErrorCodeToString(hr);
return;
« no previous file with comments | « chrome/browser/win/settings_app_monitor.cc ('k') | chrome/installer/util/legacy_firewall_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698