chore: use auto to avoid repeating type (#26113)
This commit is contained in:
parent
f714556a12
commit
4be10523e8
25 changed files with 38 additions and 48 deletions
|
@ -922,7 +922,7 @@ ElectronBrowserClient::CreateWindowForPictureInPicture(
|
|||
#if defined(OS_WIN)
|
||||
base::string16 app_user_model_id = Browser::Get()->GetAppUserModelID();
|
||||
if (!app_user_model_id.empty()) {
|
||||
OverlayWindowViews* overlay_window_view =
|
||||
auto* overlay_window_view =
|
||||
static_cast<OverlayWindowViews*>(overlay_window.get());
|
||||
ui::win::SetAppIdForWindow(app_user_model_id,
|
||||
overlay_window_view->GetNativeWindow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue