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

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

Issue 2824773002: Rename ScopedComPtr::get() to ScopedComPtr::Get() (Closed)
Patch Set: Update to 5293966 Created 3 years, 8 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 5873c4e2a46bdff00948dc48b74819e94b7307e5..cd4625fd5dba3397822918f16ed4556c45b8bb22 100644
--- a/chrome/installer/util/advanced_firewall_manager_win.cc
+++ b/chrome/installer/util/advanced_firewall_manager_win.cc
@@ -80,10 +80,10 @@ bool AdvancedFirewallManager::AddUDPRule(const base::string16& rule_name,
// Create the rule and add it to the rule set (only succeeds if elevated).
base::win::ScopedComPtr<INetFwRule> udp_rule =
CreateUDPRule(rule_name, description, port);
- if (!udp_rule.get())
+ if (!udp_rule.Get())
return false;
- HRESULT hr = firewall_rules_->Add(udp_rule.get());
+ HRESULT hr = firewall_rules_->Add(udp_rule.Get());
DLOG_IF(ERROR, FAILED(hr)) << logging::SystemErrorCodeToString(hr);
return SUCCEEDED(hr);
}
@@ -158,7 +158,7 @@ void AdvancedFirewallManager::GetAllRules(
}
base::win::ScopedComPtr<IEnumVARIANT> rules_enum;
- hr = rules_enum.QueryFrom(rules_enum_unknown.get());
+ hr = rules_enum.QueryFrom(rules_enum_unknown.Get());
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