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; |