From 75754804affb026400f47110619b79fc54413bd8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 25 May 2016 10:34:33 -0700 Subject: [PATCH] Use auto for embedder var --- atom/browser/web_contents_preferences.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/web_contents_preferences.cc b/atom/browser/web_contents_preferences.cc index 9ad778970c..82f2023329 100644 --- a/atom/browser/web_contents_preferences.cc +++ b/atom/browser/web_contents_preferences.cc @@ -163,7 +163,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches( if (guest_instance_id && !window) { auto manager = WebViewManager::GetWebViewManager(web_contents); if (manager) { - content::WebContents* embedder = manager->GetEmbedder(guest_instance_id); + auto embedder = manager->GetEmbedder(guest_instance_id); if (embedder) window = NativeWindow::FromWebContents(embedder); }