Use auto for embedder var
This commit is contained in:
parent
88f665bc1b
commit
75754804af
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
||||||
if (guest_instance_id && !window) {
|
if (guest_instance_id && !window) {
|
||||||
auto manager = WebViewManager::GetWebViewManager(web_contents);
|
auto manager = WebViewManager::GetWebViewManager(web_contents);
|
||||||
if (manager) {
|
if (manager) {
|
||||||
content::WebContents* embedder = manager->GetEmbedder(guest_instance_id);
|
auto embedder = manager->GetEmbedder(guest_instance_id);
|
||||||
if (embedder)
|
if (embedder)
|
||||||
window = NativeWindow::FromWebContents(embedder);
|
window = NativeWindow::FromWebContents(embedder);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue