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

Unified Diff: ui/base/win/shell.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 | « ui/base/dragdrop/os_exchange_data_win_unittest.cc ('k') | ui/gfx/font_fallback_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/shell.cc
diff --git a/ui/base/win/shell.cc b/ui/base/win/shell.cc
index cdc0a8da18581ce827693d4d996b85963f016f9f..8d06fc2a133857e1824a90d4412c7c15704a0e12 100644
--- a/ui/base/win/shell.cc
+++ b/ui/base/win/shell.cc
@@ -109,7 +109,7 @@ bool PreventWindowFromPinning(HWND hwnd) {
return false;
return base::win::SetBooleanValueForPropertyStore(
- pps.get(), PKEY_AppUserModel_PreventPinning, true);
+ pps.Get(), PKEY_AppUserModel_PreventPinning, true);
}
// TODO(calamity): investigate moving this out of the UI thread as COM
@@ -132,24 +132,24 @@ void SetAppDetailsForWindow(const base::string16& app_id,
return;
if (!app_id.empty())
- base::win::SetAppIdForPropertyStore(pps.get(), app_id.c_str());
+ base::win::SetAppIdForPropertyStore(pps.Get(), app_id.c_str());
if (!app_icon_path.empty()) {
// Always add the icon index explicitly to prevent bad interaction with the
// index notation when file path has commas.
base::win::SetStringValueForPropertyStore(
- pps.get(), PKEY_AppUserModel_RelaunchIconResource,
+ pps.Get(), PKEY_AppUserModel_RelaunchIconResource,
base::StringPrintf(L"%ls,%d", app_icon_path.value().c_str(),
app_icon_index)
.c_str());
}
if (!relaunch_command.empty()) {
base::win::SetStringValueForPropertyStore(
- pps.get(), PKEY_AppUserModel_RelaunchCommand,
+ pps.Get(), PKEY_AppUserModel_RelaunchCommand,
relaunch_command.c_str());
}
if (!relaunch_display_name.empty()) {
base::win::SetStringValueForPropertyStore(
- pps.get(), PKEY_AppUserModel_RelaunchDisplayNameResource,
+ pps.Get(), PKEY_AppUserModel_RelaunchDisplayNameResource,
relaunch_display_name.c_str());
}
}
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_win_unittest.cc ('k') | ui/gfx/font_fallback_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698