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()); |
} |
} |