[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
|
@ -368,7 +368,7 @@ void PrintViewManagerBase::DisconnectFromCurrentPrintJob() {
|
|||
}
|
||||
|
||||
void PrintViewManagerBase::PrintingDone(bool success) {
|
||||
auto host = web_contents()->GetRenderViewHost();
|
||||
auto* host = web_contents()->GetRenderViewHost();
|
||||
if (print_job_.get()) {
|
||||
if (host)
|
||||
host->Send(new PrintMsg_PrintingDone(host->GetRoutingID(), success));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue