[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
|
@ -54,8 +54,8 @@ void WebContentsPermissionHelper::RequestPermission(
|
|||
const base::Callback<void(bool)>& callback,
|
||||
bool user_gesture,
|
||||
const base::DictionaryValue* details) {
|
||||
auto rfh = web_contents_->GetMainFrame();
|
||||
auto permission_manager = static_cast<AtomPermissionManager*>(
|
||||
auto* rfh = web_contents_->GetMainFrame();
|
||||
auto* permission_manager = static_cast<AtomPermissionManager*>(
|
||||
web_contents_->GetBrowserContext()->GetPermissionManager());
|
||||
auto origin = web_contents_->GetLastCommittedURL();
|
||||
permission_manager->RequestPermissionWithDetails(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue