[chromium-style] auto variable type must not deduce to a raw pointer type
This commit is contained in:
parent
667c43398c
commit
a635f078c6
61 changed files with 189 additions and 188 deletions
|
@ -74,9 +74,9 @@ bool WebViewManager::ForEachGuest(content::WebContents* embedder_web_contents,
|
|||
// static
|
||||
WebViewManager* WebViewManager::GetWebViewManager(
|
||||
content::WebContents* web_contents) {
|
||||
auto context = web_contents->GetBrowserContext();
|
||||
auto* context = web_contents->GetBrowserContext();
|
||||
if (context) {
|
||||
auto manager = context->GetGuestManager();
|
||||
auto* manager = context->GetGuestManager();
|
||||
return static_cast<WebViewManager*>(manager);
|
||||
} else {
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue